if you do not set any expiry on a cookie it becomes a session cookie and
will die when the browser is closed thus ending the users session.
however this will not kill the session on the server as that
requires something to be sent back to the server to tell it to kill the
session, such as the user logging out, so the session variables will simply
expire as normal, the user simply wont be able to reconnect to that session
again.



On Thu, Jul 5, 2012 at 1:26 PM, Byte Me <[email protected]> wrote:

>
> Anyone know how to force the session to end when the browser is closed
> when using CF 10? In the CF Administrator, go to "Server Settings"
> -->"Memory Variables" & scroll down to Session Cookie Settings. The Cookie
> Timeout setting seems to have complete control over the expires attribute
> for cfid, cftoken. You used to be able to force the session to end (when
> the browser was closed) by putting this in OnSessionStart: <cfset
> Cookie.cfid = SESSION.CFID> <cfset Cookie.cftoken = SESSION.CFToken>, which
> set the Expires attribute to: "When I close my browser". Does not seem to
> be the case anymore.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to