CGI.HTTP_REFERER

Note the single "r" in referer.

I find the referer variable flakey and different OS's and Web Servers all a
little different in the way the expose it.

If you run into problems, try javascript instead, ie: stick this at the
bottom of your template after your CF processing:

<BODY onLoad="window.location='javascript:history.go(-1)'">

John



----- Original Message -----
From: "W Luke" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, November 18, 2000 8:10 AM
Subject: HTTP Referrer


> Hi,
>
> How can I get the HTTP referrer URL in CF?  I'd like to do a <cflocation>
> and make the URL the referrer, to take users back to where they were
trying
> to go once logged in.
>
> Cheers,
>
> Will
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
>
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to