Page 1 of 1

Other than setting a cookie, determine if a user navigated t

Posted: Wed Nov 07, 2007 1:30 pm
by humblepgmr
Hi sorry about the cryptic title.

Is there a way, other than setting a cookie, to determine if a user navigated to a website via link? Preferably by accessing some value in the $_SERVER object? How is this done?

Thanks.

Posted: Wed Nov 07, 2007 1:57 pm
by Kieran Huggins
There's $_SERVER['HTTP_REFERER'] (yes, it's actually misspelled) but it relies on the browser sending the header (which most will) so it's it's not considered "reliable".