Hi All ,
How can I override session timeout interval during the runtime. Basically at the time of login, user is given an option if wants to be logged in for specific hours say(7).
So what I did once user is authenticated , set the max inactiveInterval at the session.
WebRequest request = (WebRequest) WebRequestCycle.get().getRequest(); request.getHttpServletRequest().getSession().setMaxInactiveInterval(HOURS * 60);
but this doesn't seems to work . User is still logged on after that time.
Thanks!
Pratik