Yes session.setMaxInactiveInterval gets called against a specific
session, so it only effects that session. The session-timeout in web.xml
sets the default timeout for a session unless it is overriden by
session.setMaxInactiveInterval

Chris

On Fri, 30 Jan 2004, Anirudh Jayanth wrote:

>
> session.setMaxInactiveInterval(int interval); would this override the
> session-timeout set in the web.xml for the application??
>
>
> -----Original Message-----
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 30, 2004 4:04 PM
> To: 'Struts Users Mailing List'
> Subject: RE: session timeout --> time limit
>
>
> session.setMaxInactiveInterval(int interval);
>
> Specifies the time, in seconds, between client requests before the
> servlet container will invalidate this session. A negative time
> indicates the session should never timeout
>
>
>
> -----Original Message-----
> From: Oliver Thiel [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 30, 2004 11:31 AM
> To: [EMAIL PROTECTED]
> Subject: session timeout --> time limit
>
>
> Hi all,
>
>
> where can I set a time limit for a session?
> I want the session's to be invalid after 10
> minutes! How can i archive this?
>
>
>
> Thanks
> Oliver
>
> --
> +++ GMX - die erste Adresse für Mail, Message, More +++
> Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail
>
>
> ---------------------------------------------------------------------
> 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]
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to