Re: Setting session time out at run time

2010-12-28 Thread Jordi Fernandez
setMaxInactiveInterval(int seconds) will work for a specific user session timeout. It is set in the httpsession object, for example http://bit.ly/g2WdSW. In Struts 2 you can gain access to the HttpSession object by accessing HttpServletRequest (http://struts.apache.org/2.0.14/docs/how-can-we-

Setting session time out at run time

2010-12-27 Thread ashutosh kumar
How can I set session timeout at runtime for struts 2. Does HttpSession.setMaxInactiveInterval work? If yes ,where do I need to set it? Thanks Ashutosh