Use the <body onUnload> method to call the logout page, or just add the
following to your Application.cfm
--
<cfcookie name=cfid value=#session.cfid#>
<cfcookie name=cftoken value=#session.cftoken#>
--

> How can I delete all session variables(user/pass) 
> when a user closes their browser?  I have a logout 
> option that works but if they don't use it, they 
> are still logged into the system.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to