HttpSessionListener - sessionDestroyed 2004-01-07 - By Rod Giffin
Back 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 browser, unless there's some sort of trigger on the client (eg. a JavaScript) that runs when the close event occurs.
Rod.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|