I'm not sure that will work.  If it's on the same page, all of that is
processed on the CF side and it assumes that the cookie is set even
though it hasn't made it back to the user's machine yet.  You'd have to
set the cookie on one page, and redirect to another page that checks to
see if the cookie is still there and make the decision that way.  Note
that you can't cfcookie followed by a cflocation in anything before CFMX
6.1.

John Burns

-----Original Message-----
From: Stephen Hait [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 5:16 PM
To: CF-Talk
Subject: Re: CFID/CFTOKEN newbie question

> Bah - that's what I thought.  So, how do you determine if the user has

> cookies or not before you go through the trouble of adding them to the

> url?

<cfcookie name="cookieTest" value="test" expires="never"> <cfif
COOKIE.cookieTest NEQ "test">
cookies not enabled code here
</cfif>

HTH,
Stephen
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to