Re: Alternative to HTTP_REFERER?

From: Date: Mon, 13 Oct 2008 06:37:06 +0000
Subject: Re: Alternative to HTTP_REFERER?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-281777@lists.php.net to get a copy of this message
Yeti wrote: > By definition: The referer, or HTTP referer, identifies, from the > point of view of an internet webpage or resource, the address of the > webpage (commonly the URL, the more generic URI or the i18n updated > IRI) of the resource which links to it. > > More detail at: > http://en.wikipedia.org/wiki/Referer > http://tools.ietf.org/html/rfc2616 > > So is a redirecting page a referrer or not? I don't know. Had no time > to translate the gibberish. It doesn't have to be a redirect as such - when you set the URL using javascript, there is also no HTTP_REFERER in MSIE. > I experimented a bit with it and the most suitable solution I found > was passing the referring page on with a GET parameter ... Which becomes kludgy the minute you've got other GET arguments. /Per Jessen, Zürich

« previous php.general (#281777) next »