Hi,
I'm working on a
struts based web-application that is deployed on tomcat5.0.27 under Windows OS.I have added a SessionListener class to tarck the session creation & destruction.
The problem is that my SessionListener class's method
public void sessionDestroyed(HttpSessionEvent se) is not being called, everytime the session times-out.
I have explicitly set session.setMaxInactiveInterval(20) at my logon page.So, If I do not do any action on a page for more than 20 seconds, the session should be expired and the method
public void sessionDestroyed(HttpSessionEvent se) of SessionListener class must be called.It is not happening after I move on to certain pages, but on some other pages it is working.
Could this be Struts or tomcat5.0.27 specific issue?
please help me on this.
Regards.
KuldeepT.
[ March 09, 2007: Message edited by: K Tewari ]