[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?



Jay Fesco wrote:

> I need to be able to find out exactly what someone typed to get to my custom
> 404 page.

> I've tried to pull Request.ServerVariables("HTTP_REFERER"), but it comes
> back blank after the redirect to 404.asp. 

HTTP_REFERER is generated only when the visitor clicks an href link or
submits a form, it is not generated when someone types the URL into the
location or enters the URL into the location via bookmarks, history, or
a javascript location call. In those instances there is no referring
page. Netscape is spotty about supporting this standard, IE is strictly
compliant.

keith