The CGI variable is CGI.HTTP_REFERER (note that it's not spelled the way you
want to spell it if you were spelling correctly).  If you spell it the way
you have below, I don't think CF will throw an error, it just returns a
blank value.

HTH,

Evan

> -----Original Message-----
> From: Steven Douglas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 9:44 AM
> To: CF-Talk
> Subject: Get 404 referrer
>
>
> Hello,
>
> I'm trying to capture the http referrer from a 404 page.  In the
> cfadmin I
> have a page set up to handle the 404, and in the source of that page I am
> outputting cgi.http_referrer  but it comes up blank in both ie
> and netscape.
>   Is there any other way to capture the referring page, or is cf doing
> something weird when a 404 is encountered.
>
> Any help is appreciated. Thanks!
>
> -Steven
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to