First make sure that the cookies that you have are deleted.  It may 
still see those.  

Michael Corrigan
Programmer
Endora Digital Solutions 
www.endoradigital.com
630/942-5211 x-134
  ----- Original Message ----- 
  From: Bruce Sorge 
  To: CF-Talk 
  Sent: Friday, November 09, 2001 9:42 AM
  Subject: Detecting Cookies


  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,
  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to