After the time of inactivity, Tomcat closes the session and the user must revalidate.
I dont know if is the same that you do.
Josep
En/na Kenny G. Dubuisson, Jr. ha escrit:
Will this keep it from generating a new session ID every 60 mins? Thanks for the quick response. Kenny----- Original Message ----- From: "Josep R. Raurell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 10:24 AM Subject: Re: session timeout settingYou can put this in your code: session.setMaxInactiveInterval(time); // time in seconds Josep R. Raurell En/na Kenny G. Dubuisson, Jr. ha escrit:I have a site written in JSP that uses session info to validate user's sessions. I want to change the default timeout of the session from 60minsbut I'm not sure what is controlling this or how/where to change it.Hereis more info to help figure this out...if anyone has any ideas I would greatly appreciate it. My initial JSP page has a login which, when validated, sets a cookie that stores the session ID. Every page thereafter, upon initial load, checksthecurrent session ID against this cookie and if they don't match, the userisdirected to re-login. My users want a longer timeout but I'm not surewhereto control this (maybe this question is for the Tomcat list....I justdon'tknow). Thanks, Kenny===========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoffJSP-INTEREST".For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTERESTDIGEST".Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com===========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoffJSP-INTEREST".For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTERESTDIGEST".Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com