On 1/1/2004 at 22:50, you wrote:
>> <cfapplication name="loginApp" clientmanagement="yes"
>> clientstorage="bww" setclientcookies="no">
>> <cfcookie name="CFID" value="#client.CFID#" domain=".whatever.com">
>> <cfcookie name="CFTOKEN" value="#client.CFTOKEN#"
>> domain=".whatever.com">
>>
>> Tell CF NOT to set the cookies automatically (because you're doing
>> it), and then uses the domain attribute of the cfcookie tag to tell
>> the browser this cookie should be sent to all subdomains for your
>> site...
DC> Why go through that trouble? Why not just use the setDomainCookies attribute
DC> of the cfapplication tag to "yes"?
One advantage of manually setting CFID and CFTOKEN cookies is that it
allows you to provide an expiration. CFAPPLICATION automatically sets
them with the equivalent of expiration="never", but sometimes it's
nice to be able to make CFID and CFTOKEN expire when the browser
closes, for example.
~ Ubqtous ~
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

