RE: determining session timeout value

2004-04-22 Thread mike . raath
I think getMaxInactiveInterval on the HttpSession should give you what you
want.

-Original Message-
From: Dean A. Hoover [mailto:[EMAIL PROTECTED] 
Sent: 22 April 2004 13:36
To: [EMAIL PROTECTED]
Subject: determining session timeout value


After getting some great suggestions here for various
ways of handling session timeouts, I have implemented
something I am very happy with. Now, when a timeout
happens I want to be more informative to the user by constructing a message
that tells them what the timeout is in minutes. Anyone know how I can get
this value?

Dean Hoover


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: determining session timeout value

2004-04-22 Thread hernans
Yeap!
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html#getMaxInactiveInterval()
 I think getMaxInactiveInterval on the HttpSession should give you what you
 want.

 -Original Message-
 From: Dean A. Hoover [mailto:[EMAIL PROTECTED]
 Sent: 22 April 2004 13:36
 To: [EMAIL PROTECTED]
 Subject: determining session timeout value


 After getting some great suggestions here for various
 ways of handling session timeouts, I have implemented
 something I am very happy with. Now, when a timeout
 happens I want to be more informative to the user by constructing a
 message
 that tells them what the timeout is in minutes. Anyone know how I can get
 this value?

 Dean Hoover


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 For more information about Barclays Capital, please
 visit our web site at http://www.barcap.com.


 Internet communications are not secure and therefore the Barclays
 Group does not accept legal responsibility for the contents of this
 message.  Although the Barclays Group operates anti-virus programmes,
 it does not accept responsibility for any damage whatsoever that is
 caused by viruses being passed.  Any views or opinions presented are
 solely those of the author and do not necessarily represent those of the
 Barclays Group.  Replies to this email may be monitored by the Barclays
 Group for operational or business reasons.

 


 -
 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]