Configure webapp Session timeout
Hello all, We're running a servlet that processes responses from an online test. The test is 2 hrs long, and we find that if a user does not make a request from his browser (saves a test answer) the sesion times out, and when he does next try to save an answer the servlet bounces him back to the login page. I know it's possible to configure the Tomcat session length in conf/web.xml, which would affect the sessions of all the webapps running on Tomcat, but I wondered if anybody knew how to configure the session for one particular webapp. Many thanks. Bob - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configure webapp Session timeout
That timeout is set to 60 seconds as it is. Even then it wont throw a stack trace to log, or to the web browser. -dsutin -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 11:24 AM To: Tomcat Users List Subject: RE: Configure webapp Session timeout From: Bob Riaz [mailto:[EMAIL PROTECTED] Subject: Configure webapp Session timeout I wondered if anybody knew how to configure the session for one particular webapp. Set the session-timeout in that webapp's WEB-INF/web.xml file; it will override the global one. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configure webapp Session timeout
From: Bob Riaz [mailto:[EMAIL PROTECTED] Subject: Configure webapp Session timeout I wondered if anybody knew how to configure the session for one particular webapp. Set the session-timeout in that webapp's WEB-INF/web.xml file; it will override the global one. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configure webapp Session timeout
From: Dustin Fortin [mailto:[EMAIL PROTECTED] Subject: RE: Configure webapp Session timeout That timeout is set to 60 seconds as it is. Since your servlet runs for 2 hours, a 60-second timeout seems a mite on the short side... Even then it wont throw a stack trace to log, or to the web browser. Why would you expect a stack trace on a session timeout? Session expiration doesn't affect requests being processed, only future ones. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]