OK,
I am using this in my applicaiton.cfm (borrowed from someone on this list):

<cfif IsDefined("cookie.wmeCookieTest")>
        <cflocation url="Voucher/Step_1.cfm" addtoken="No">
<cfelseif NOT IsDefined("URL.wmeCookieSend")>
<!--- If this is the first time the uuser is visting this site --->
        <cfcookie name="wmeCookieTest" value="Accepts Cookies, good to go">
        <cfheader name="Refresh" value="0; URL=#CGI.script_name#?wmeCookieSend=1">
<cfelseif IsDefined("URL.wmeCookieSend")>
        <!--- We tried to plop a cookie, but they are just a bunch of paranoid freaks. 
Send them to the "I think that I am secure 'cause I am not accepting cookies" page --->
        <cflocation url="nc/Coupons/Index.cfm" addtoken="Yes">
</cfif>
The probmem is that no matter if I have cookies on or off, I am going to the page that 
uses cookies. I have toyed around with the elseif statements and still cannot get this 
right. If someone would please be so kind as to point out what I am sure is going to 
be the oh-so obvious error, I would really appreciate it.

Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to