Thanks for the tip, I'd come to a similar solution (using
ServletRequestAware), but it feels iffy having to got back to the
ServletRequest object.
Al.
----- Original Message -----
From: "Andrea Vettori" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, January 16, 2008 9:23 AM
Subject: Re: Dynamic session timeout
I do that with
ServletActionContext.getRequest().getSession().setMaxInactiveInterval
Hope this helps
Il giorno 16/gen/08, alle ore 10:14, Al Sutton ha scritto:
Heres a problem people may want to take a crack at...
In one of my webapps I allow the admin users to set how long a users
session is valid for, in a servlet I can set this by doing
session.setMaxInactiveInterval when the user logs in, but can I do this
in a struts action?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Ing. Andrea Vettori
Consulente per l'Information Technology
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]