Re: Login timeout

2003-06-13 Thread Bill Barker
In your web.xml file change to:
  session-config
session-timeout40/session-timout
  /session-config

Reis, Tom [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Is there a way to change the login timeout for Tomcat 4.03. I think it is
 set for 20 min. and I want to change it for a 40 min. Thanks.




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



login timeout

2003-06-13 Thread Reis, Tom
We have a problem where users running a application leave it running
and then come back to it after a while and get a error because it times out.
Is there a way to have the application give a message that it timed out or
to have it automatically refresh the page.

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



RE: login timeout

2003-06-13 Thread Filip Hanik
you can put in a servlet Filter to do this for you, or a Tomcat valve

Filip

 -Original Message-
 From: Reis, Tom [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 13, 2003 10:45 AM
 To: Tomcat Users List (E-mail)
 Subject: login timeout


   We have a problem where users running a application leave it running
 and then come back to it after a while and get a error because it
 times out.
 Is there a way to have the application give a message that it timed out or
 to have it automatically refresh the page.

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



RE: login timeout

2003-06-13 Thread Shapira, Yoav

Howdy,
Or you could have add a simple HTML HTTP-EQUIV refresh to your web
pages, e.g for 30 minutes (= 30 * 60 = 1800sec)

HTML
HEAD
META HTTP-EQUIV=refresh
content=1800;URL=http://www.yoursite.com/timedout;
TITLEyour page/TITLE
/HEAD
BODY
whatever
/BODY
/HTML

That way after 30min users will be timedout.  The timedout location can
be a servlet that does whatever you want, e.g. session.invalidate(), a
redirect to another location (the login page), etc.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:47 PM
To: Tomcat Users List
Subject: RE: login timeout

you can put in a servlet Filter to do this for you, or a Tomcat valve

Filip

 -Original Message-
 From: Reis, Tom [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 13, 2003 10:45 AM
 To: Tomcat Users List (E-mail)
 Subject: login timeout


  We have a problem where users running a application leave it
running
 and then come back to it after a while and get a error because it
 times out.
 Is there a way to have the application give a message that it timed
out
or
 to have it automatically refresh the page.

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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Login timeout

2003-06-12 Thread Reis, Tom
Is there a way to change the login timeout for Tomcat 4.03. I think it is
set for 20 min. and I want to change it for a 40 min. Thanks.

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