Any way to anticipate session timeout ?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-06-17T18:11:00Z Indexed on 2010/06/17 23:53 UTC
Read the original article Hit count: 173

Filed under:
|
|
|

Hi,

Is there a way to "catch" the session timeout event, so as to retrieve data from HttpSession before its invalidated ?

We're implementing the Filter Interface, and in the doFilter method, the user we stored in the session object at login is null when session times out.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about filter