[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?
- Subject: Re: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?
- From: Keith Davis <cache@xxxxxxxxxx>
- Date: Mon May 7 02:07:03 2001
- Organization: Digital Odyssey Web Development
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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