You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Trenten F Peterson <tp...@wiley.byu.edu> on 2000/02/02 12:53:42 UTC

RE: Help please...session timeout

I had the same problem and sloved it programatically with 

HttpSession's setMaxInactiveInterval(int interval) method.
 




On Wed, 2 Feb 2000, Anten, Andrew wrote:

> I tried
>         <Context path="/" docBase="/mmt/aka/apache/ht"
>             defaultSessionTimeOut="36000" isWARExpanded="true"
>             isWARValidated="false" isInvokerEnabled="true"
>             isWorkDirPersistent="false"/>
> 
> 
> but session still seems to timeout v. quickly, and SnoopServlet still
> reports
> Requested Session Id: To1011mC9469649480796462At Current Session Id:
> To1011mC9469649480796462At Session Created Time: 949512841665 Session Last
> Accessed Time: 949512841665 Session Max Inactive Interval Seconds: 60 
> 
> any ideas ?
> 
> thanks
> 
> 
> Andy A
> 
> 
> > -----Original Message-----
> > From:	Crook, Charles [SMTP:CrookC@tvratings.com]
> > Sent:	02 February 2000 17:30
> > To:	'general@jakarta.apache.org'
> > Subject:	RE: Help please...session timeout
> > 
> > server.xml
> > 	defaultSessionTimeout value?
> > 
> > -----Original Message-----
> > From: Anten, Andrew [mailto:Andrew.Anten@mmtenergy.co.uk]
> > Sent: Wednesday, February 02, 2000 12:20 PM
> > To: 'general@jakarta.apache.org'
> > Subject: Help please...session timeout
> > 
> > 
> > 
> > > Does anyone know how to control HttpSession timeout parameters in tomcat
> > ?
> > > 
> > > thanks.
> > > 
> > > Andy A
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>