B4J Question [server] How to get the QueryString of the referer

wl

Well-Known Member
Licensed User
Longtime User
Hi,

I know I can obtain the referer in a handler by query'ing the "Referer" header.
Unfortunately it does not contain any querystring variables.

Any way of doing this ?

Thanks !
 

wl

Well-Known Member
Licensed User
Longtime User
Thanks Erel, but I was aware of this... this returns the querystring info of the URL.
What I was looking at was the querystring of the Referer.

What I would like to do is having the server serve a javascript file (<script src=... />) includea in an HTML page.

In the handler I would like to read the querystring of the HTML page (the referer).

I can only obtain the Referer by reading the Header but in the header the Referer does not contain the querystring.

Thanks
 
Upvote 0

wl

Well-Known Member
Licensed User
Longtime User
Thanks Erel,

It is OK. My referer page was not being hosted on a server but run locally.

When running the referer page on a server the referer was OK. Thanks
 
Upvote 0
Top