Howdy,
Isn't it much easier to try this than to email the list? ;) Tomcat
doesn't care much for the user's browser.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:19 AM
To: Tomcat
Hi,
I did try and it didn't work; hence the email ;-)
How does one trap browser close event , javascript ?
Thanks
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:35 AM
To: Tomcat Users List
Subject: RE: HttpSessionListener
Howdy,
I did try and it didn't work; hence the email ;-)
Good, I'm glad you tried. Session creation and destruction are not
always connected to browser opening and closing.
How does one trap browser close event , javascript ?
Yeah, window onClose. Be careful going down this path, however,
Chakravarthy, Sundar said:
Does Tomcat 4.x call sessionDestroyed if the user closes his browser
window or only on Session invalidate() or timeout ( 30 mts ) ?
Notice sessionCreated is called but not sessionDestroyed.
Tomcat doesn't usually have a way to tell if the user just closes his