> CF session variables are based on a timeout and (as far as I 
> know) cannot be made to expire when a browser is closed. An 
> option might be to set a browser session cookie (the default 
> behavior of cfcookie) which will expire when the browser 
> closes, and check that - if it no longer exists then clear 
> your session records cache and recreate the cookie.

If you use nonpersistent cookies to associate the session with the browser,
when the user closes the browser the session data will no longer be
associated with that browser. These sort of cookies are often called
"session cookies".

You can either use J2EE session cookies, which are nonpersistent by default,
or you can overwrite the CFID and CFTOKEN cookies using the CFCOOKIE tag
without specifying a TIMEOUT attribute, which will make them nonpersistent.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186524
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to