i think yes...
(perhaps you need a "special" session.life-time (e.g. for admin...))

from dtd:
The session-timeout element defines the default session timeout
interval for all sessions created in this web application. The
specified timeout must be expressed in a whole number of minutes.
If the timeout is 0 or less, the container ensures the default
behaviour of sessions is never to time out.

note: all sessions in this web-app...

so you can overwrite it with setMaxInactiveInterval()
if user "bigBoss" logged in... :-)


cheers,



-----Original Message-----
From: Anirudh Jayanth [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 11:48 AM
To: 'Struts Users Mailing List'
Subject: RE: session timeout --> time limit



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