If you are trying to find out where the user is coming from in order to
redirect them use cgi.http_referer like this

<CFIF Trim(cgi.http_referer) is "xyz">
<CFLOCATION url="url_to_send_to">
</CFIF>

-----Original Message-----
From: netman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 7:54 PM
To: CF-Talk
Subject: CFIF


Good Evening,

Trying to figure out how to do a cfif on the url that is being passed.  Need
to redirect according to the url that the user has try to go to.

Just not sure about the syntax to use to compare according to the url.
Tried <cfif URL is "xyz">xyz</cfif>  But did not work.  I thought it would
be similar to a url.var.

Can anyone help,

Robert

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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