> It works for me too, but what I'm wondering is why do these solutions
> work but directly rewriting the cookie with it's own values doesn't?

> <cfcookie name="CFTOKEN" value="#cookie.cfid#">
> <cfcookie name="CFID" value="#cookie.cftoken#">

Well, the first time CFAS attempts to set the cookie, what would
#cookie.cfid# evaluate to? I'm guessing that it won't evaluate to
anything, but, perhaps like CGI variables, it doesn't throw an error, it
just evaluates to nothing. Then, in the client a cookie is successfully
set with cfid and cftoken equal to nothing. Then, on the second request,
that cfid/cftoken pair doesn't match any session in memory on the
server, so it creates another session. Repeat till fade.

That's just a guess with a foggy Friday brain. Output the values to
screen; that might give you a clearer indication of what's going on.


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to