>>> <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).

btw, what's the purpose of the if statement?  Why not just overwrite 
them regardless?  Or is that to confirm that session management is 
enabled?  Is there no other way to test that session management is 
enabled or is that the most efficient method?

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:319644
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