$ENV{'HTTP_REFERER'} will only return a value if you navigate to the page from an href (get) from another page.<br><br>if you simply enter the url in the address line of your browser, the $ENV{'HTTP_REFERER'} will be empty.<br><br>it is also possible that a document.location.replace may also have adverse effects on $ENV{'HTTP_REFERER'} although i haven't tried it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.