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-
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
On Dec 25, 2007 1:56 AM, Raghuveer <[EMAIL PROTECTED]> wrote:
> If session of login user expires or left unused for 15 minutes application
> should fire session expire page automatically.
This is something that is best accomplished from a client.
HTML allows you to specify meta data about a docum
:56 AM
Subject: Setting Session time out
> Is there possibility of setting session time out of application for 15
> minutes?
>
>
>
> If session of login user expires or left unused for 15 minutes application
> should fire session expire page automatically.
>
>
>
>
Is there possibility of setting session time out of application for 15
minutes?
If session of login user expires or left unused for 15 minutes application
should fire session expire page automatically.
Any idea of how to handle this in my struts application?
5 matches
Mail list logo