listener to session
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Issic_Levy
Posted On:   Tuesday, May 25, 2004 01:21 PM

Hi,
is there a session Listener?
I want to make a checking when user close the browser and the session still active.
thanks.

Re: listener to session

Posted By:   Sean_Owen  
Posted On:   Tuesday, May 25, 2004 01:36 PM

Yes, look at the listener interfaces in javax.servlet.http, including HttpSessionListener.



These listeners can let you know when sessions are created and destroyed, and when attributes are added or changed in the session. However it won't help you detect when a user closes a browser window -- that's on the client side.

About | Sitemap | Contact