Use the onUnload() event handler within the BODY tag to run a template with
this code:

<CFLOOP COLLECTION="#session#" ITEM="ThisKey">
        <CFSET tmpVar = StructDelete(session, ThisKey)>
</CFLOOP>

That will take care of it.

Chris

Christopher Conrad
Victoria's Secret Catalogue
http://www.VictoriasSecret.com
Senior.Programmer.Analyst
614.337.5653
[EMAIL PROTECTED]


> -----Original Message-----
> From: Matt Rodosky [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, July 06, 2000 4:07 PM
> To:   [EMAIL PROTECTED]
> Subject:      Session Management
> 
> Is it possible to terminate a session when a user closes their browser??
> Its
> easy when a user logs out, or the session times out, it would be nice if
> you
> could also do it when the browser is closed.
> 
> TIA
> Matt
> 
> --------------------------------------------------------------------------
> ----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to