Murad, can I ask why you specifically want onSessionEnd to run when the browser is closed (as opposed to just waiting for it to time out)?
if you're worried about memory usage then CF will garbage collect after the default session timeout period anyway. if you're wanting ASP-type behavour in destroying the session token when the browser is closed (and re-opened) then Hal's presso covers that (expiring CFID, etc) I've heard (read) some ppl have got funky stuff going with (IIRC) the body onunload and AJAX calls but it's *still* a disconnected (or occasionally connected) client to worry about.... On 08/02/06, Andy Powell <[EMAIL PROTECTED]> wrote: > By the time onSessionEnd is called, the session and client variables are no > longer available b/c the session is over. I had this problem myself and > that was the answer MM gave. > > > On 2/7/06, Salvatore Fusto <[EMAIL PROTECTED]> wrote: > > > > Hi, > > on www.halhelms.com there is an animated tutorial on this subject > > regards > > salvatore > > > > ----- Original Message ----- > > From: Murad Amer > > To: CFCDev@cfczone.org > > Sent: Tuesday, February 07, 2006 5:19 PM > > Subject: [CFCDev] OnSessionEnd > > > > > > > > > > Hi, > > > > am trying to use the method (onSessionEnd) to clean-up all existing > session variables when the user "CLOSES THE BROWSER", > > but its not working, although am using J2EE sessions. > > > > i.e.: the method does not excute when the user closes the browser!! > > > > Any Help ? > > > > Regards, > > > > > > > > __________ Informazione NOD32 1.1397 (20060207) __________ > > > > Questo messaggio รจ stato controllato dal Sistema Antivirus NOD32 > > http://www.nod32.it > > > ---------------------------------------------------------- > > You are subscribed to cfcdev. To unsubscribe, send an email to > cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the > email. > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > > > An archive of the CFCDev list is available at > www.mail-archive.com/cfcdev@cfczone.org > > > ---------------------------------------------------------- > > You are subscribed to cfcdev. To unsubscribe, send an email to > cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the > email. > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting ( > www.cfxhosting.com). > > > > An archive of the CFCDev list is available at > www.mail-archive.com/cfcdev@cfczone.org > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email to > cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the > email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > (www.cfxhosting.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/cfcdev@cfczone.org ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org