sessionDestroyed « Session « JSP-Servlet Q&A





1. How to call sessionDestroyed when a session times out    stackoverflow.com

I am new to JSP. I used the following code in a class that implements HttpSessionListener to get SESSION OUT when the session times out:

    public void sessionCreated(HttpSessionEvent ...

2. HttpSessionListener - Will sessionDestroyed method be called on session timeout?    stackoverflow.com

I have an implementation of HttpSessionListener where 'locked' resources in the application are released with sessionDestroyed method. The 'lock' information is maintained in database, and the release of locks is working fine ...