Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

$ENV{'HTTP_REFERER'} <<--- Not Returning Anything

Status
Not open for further replies.

soup

IS-IT--Management
Aug 2, 2000
1
US
Shouldn't this return the refering site? When I used it in a work it returned nothing. Am I missing something?
 
$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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top