You can use the onUnload() event handler in JavaScript to call a page that
kills the session variables.  But that will only work if the user has
JavaScript enabled.

> -----Original Message-----
> From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 9:11 AM
> To: CF-Talk
> Subject: Delete session when browser is closed.
>
>
> 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.
>
> Thanks,
> Dave
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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