Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 67813 invoked by uid 500); 20 Sep 2001 20:42:01 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 67798 invoked from network); 20 Sep 2001 20:42:00 -0000 Message-ID: X-Mailer: XFMail 1.5.0 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 20 Sep 2001 21:43:52 +0100 (BST) Reply-To: andrew@playaday.com Sender: andrew@localhost.localdomain From: andrewdrobson@netscapeonline.co.uk To: tomcat-user@jakarta.apache.org Subject: RE: Tomcat 4.0 Session Timeout X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, What's 300 x 60? ;-) The session timeout is specified in minutes not seconds i.e. you need 5 At least this is the way it worked in 3.2.x andrew On 20-Sep-2001 Jim Urban wrote: > I can, but this defeats the purpose of configuring Tomcat to set it for me. > Was this feature removed or just moved in 4.0? > > Jim > > -----Original Message----- > From: Vladimir Grishchenko [mailto:vladgri@hotmail.com] > Sent: Thursday, September 20, 2001 12:27 PM > To: tomcat-user@jakarta.apache.org > Subject: Re: Tomcat 4.0 Session Timeout > > > Can you use HttpSession.setMaxInactiveInterval(int) method to set it at > runtime? > > --V. > > > ----- Original Message ----- > From: "Jim Urban" > To: "Tomcat-User" > Sent: Thursday, September 20, 2001 9:52 AM > Subject: Tomcat 4.0 Session Timeout > > >> >> I've now asked this three times and have yet to receive a solution. I > must >> get this resolved since the security requirements of my application > require >> the user's session to automatically time out after 5 minutes of >> inactivity... >> >> How do I set the session time out for a context in Tomcat 4.0. The > session >> time out is defaulting to 18000 seconds (5 hours?). I have tried adding > the >> following to both my context's WEB-INF/web.xml file and the >> $CATALINA_HOME/conf/web.xml file but both are ignored. >> >> >> 300 >> >> >> How do I go about setting the time out to 5 minutes? >> >> Thanks, >> Jim Urban >> Product Manager >> Netsteps Inc. >> Suite 505E >> 1 Pierce Pl. >> Itasca, IL 60143 >> Voice: (630) 250-3045 x2164 >> Fax: (630) 250-3046 >> >> >> PS: Love Tomcat 4.0, it seems really solid! >> >>