Session timeout reset
I want to reset my session timeout time back to 20 minutes each time the user sends a new request, 'm using struts 2.0, i have defined session timeout in web.xml as 20 minutes, so whatever the user does, he is logged out after 20 minutes, i have also set maxInactiveInterval as 20 minutes in the session listener, still its not taking the last accessed time but taking the session creation time and application times out after 20 minutes. what to do ?? THANKS IN ADVANCE FOR HELP. !!
i am using Geronimo 2.0 server.
it was a silly mistake from my side. was doing a getSession(true);
in the code and was not passing the session from one application to another so the reset was happening in one application but the user was in the other with a different session.
|All times are GMT +1. The time now is 04:29 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.