>>> <cfif structKeyExists(cookie, "CFID") AND structKeyExists(cookie,
>>> "CFTOKEN")>
>>>     <cfcookie name="CFID" value="#cookie.cfid#" />
>>>     <cfcookie name="CFTOKEN" value="#cookie.cftoken#" />
>>> </cfif>
>> OK, that works, but I don't get exactly what it's doing.
> 
> It replaces the two standard CF-generated cookies which don't expire 
> with two that will expire immediately the browser closes (the default 
> behaviour of cfcookie).


Ahhh... and I had just looked at the CF docs for cfcookie tag and 
noticed the following:

"If this tag specifies that a cookie is saved beyond the current browser 
session, the client browser writes or updates the cookie in its local 
cookies file. Until the browser is closed, the cookie resides in browser 
memory. If the expires attribute is not specified, the cookie is not 
written to the browser cookies file."

Now it all makes sense :)

Thanks!
Mike

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to