Thanks, Robert...but it wasn't a question of *detecting/acting on*
cgi.http_referer
on destination.cfm.  Question is:

Is there a way to write redirect.cfm with 301/302/cflocation so that,
on destination.cfm, cgi.http_referer is not "start.cfm?"

I know this can be done with meta refresh and with js...just haven't been
able to figure out how to do it with any 301/302/cflocation-based solution.


On Tue, Feb 8, 2011 at 10:59 AM, Robert Harrison <[email protected]
> wrote:

>
> Bejezzz... Must pay attention to my email. Do not multi task... do not
> multi task.
>
> Really correct syntax now
>
> <cfif Find("destination.cfm", cgi.http_host)  is true and Find("start.cfm",
> cgi.http_referer) is false>
>        <cflocation url="GOHERE" addToken="no" statusCode="301">
> </cfif>
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
> -----Original Message-----
> From: Robert Harrison [mailto:[email protected]]
> Sent: Tuesday, February 08, 2011 11:53 AM
> To: cf-talk
> Subject: RE: (ot) redirect and referer
>
>
> Whoops... left in dots. Should be:
>
> <cfif (Find("destination.cfm", cgi.http_host)  is true and
> Find("start.cfm", cgi.http_referer) is false)>
>        <cflocation url="GOHERE" addToken="no" statusCode="301"> </cfif>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341982
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to