Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

"sessionDestroyed" don't respond to the user closing the browser window

Søren Blidorf

2007-07-20

Replies:

Hi.



I am trying to get the number of sessions that is active.



I have made a SessionListener and every thing works as I intended except
that the “sessionDestroyed” don’t respond to the user closing the browser
window.



I there a way to destroy/invalidate a session when the browser is closed
without using javascript:onunload



Soren, DK

©2008 junlu.com - Jax Systems, LLC, U.S.A.