Re: How to disable sessions timeout?
Filip Hanik wrote: really, that doesn't sound right. You have to be able to disable the session timeout. This is taken from the servlet specification, you can set the timeout to -1 in web.xml for your web application or do it programatically. So is -1 doing the trick or the spec are not uptodate? EXTRACT The default timeout period for sessions is defined by the servlet container and can be obtained via the getMaxInactiveInterval method of the HttpSession interface. This timeout can be changed by the Developer using the setMaxInactiveInterval of the HttpSession interface. The timeout periods used by these methods is defined in seconds. If the timeout period for a session is set to -1, the session will never expire. /EXTRACT EXTRACT !ELEMENT session-timeout (#PCDATA) !-- The mime-mapping element defines a mapping between an extension and a mime type. -- /EXTRACT Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
How to disable sessions timeout?
Does removing the appropriate lines in server.xml would make my sessions lifetime? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: How to disable sessions timeout?
hi, No, the default session timeout is 30 min. regards Hristo -Original Message- From: mike niemaz [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Date: Friday, February 16, 2001 2:29 PM Subject: How to disable sessions timeout? Does removing the appropriate lines in server.xml would make my sessions lifetime? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: How to disable sessions timeout?
How to disable sessions timeout? No, the default session timeout is 30 min. really, that doesn't sound right. You have to be able to disable the session timeout. This is taken from the servlet specification, you can set the timeout to -1 in web.xml for your web application or do it programatically. EXTRACT The default timeout period for sessions is defined by the servlet container and can be obtained via the getMaxInactiveInterval method of the HttpSession interface. This timeout can be changed by the Developer using the setMaxInactiveInterval of the HttpSession interface. The timeout periods used by these methods is defined in seconds. If the timeout period for a session is set to -1, the session will never expire. /EXTRACT EXTRACT !ELEMENT session-timeout (#PCDATA) !-- The mime-mapping element defines a mapping between an extension and a mime type. -- /EXTRACT Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net - Original Message - From: "Hristo Katsarski" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 16, 2001 5:39 AM Subject: Re: How to disable sessions timeout? hi, No, the default session timeout is 30 min. regards Hristo -Original Message- From: mike niemaz [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Date: Friday, February 16, 2001 2:29 PM Subject: How to disable sessions timeout? Does removing the appropriate lines in server.xml would make my sessions lifetime? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]