I am having a project which uses struts 1.2 and consists of two modules and with the help of 'Switch Action' i am able to switch from one module to another successfully.
But the session timeout specified in the web.xml is not getting applied to the second module i.e. for example i specified the session timeout as one minute in the web.xml and its working fine with the first module, and when we stay idle for that time in the second module the session is not getting destroyed.
I am confirming that session is not getting destroyed as i am using Session Listener and printing a statement on the server console whenever the session is destroyed.
Can any one please help me to resolve the issue and specify how to invalidate the session using session timeout tag when we are browsing the second module also.