Rewrite the cookies so that they are deleted when the browser closes.
Here is one article describing how to do it:
http://www.allaire.com/Handlers/index.cfm?ID=21079&Method=Full
and sample code...
<!--### With Session Management Enabled ###-->
<CFAPPLICATION
NAME="myCFApp"
SESSIONMANAGEMENT="YES"
SETCLIENTCOOKIES="NO">
<!--### CF will not set the client cookies automatically, so set them
manually as per-session cookies ###-->
<CFCOOKIE NAME="CFID" VALUE="#SESSION.CFID#">
<CFCOOKIE NAME="CFTOKEN" VALUE="#SESSION.CFTOKEN#">
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 10: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