tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Fletcher <jfletc...@nexsoft.com>
Subject RE: Session Problem
Date Thu, 04 Jan 2001 19:35:42 GMT
    HttpSession session = request.getSession(true);
    session.setMaxInactiveInterval(300);
 
Will set the timeout to 5 minutes (300 seconds).
 
Jeff
 

-----Original Message-----
From: Mike Campbell [mailto:mike.campbell@s1.com]
Sent: Thursday, January 04, 2001 12:37 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: Session Problem



Craig (or anyone), 

> You might want to turn your thinking inside out on how to 
> handle this problem 
> :-). 

I came in on this discussion thread mid-strand, and have a question.  Your
code snipped on session handling made perfect sense, and really made the
session-handling issue finally "click" for me.  My question is about
timeouts; where is the timeout value set?

Thanks 


Mime
View raw message