Settings/Configuration: Tomcat/conf/web.xml has session-timeout set to 30 minutes Application's WEB_INF has web.xml with session-timeout set to 2 minutes
Java Class1 On first form submit to the server, create an httpsession using request.getSession(true). SessionId is assigned. Set maxinactive interval to 120 seconds for the current session. Java Class2 extends Action implements HttpSessionListener Provides implementation for sessiondestroyed method in HttpSessionListener. Session timeout after 2 minutes by tomcat container but on submiting a second form to the server; request.getSession(false); is not returning NULL. Instead a new SessionId gets assigned. Inputs on this strange behaviour of Tomcat 5.5.14 appreciated.