And the "default" timeout for sessions can be set in your
web.xml file with:
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
The value is in minutes...
Cheers,
Simon
> -----Original Message-----
> From: Jeff Fletcher [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 04, 2001 8:36 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Session Problem
>
> HttpSession session = request.getSession(true);
> session.setMaxInactiveInterval(300);
>
> Will set the timeout to 5 minutes (300 seconds).
>
> Jeff
>
>
> -----Original Message-----
> From: Mike Campbell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 04, 2001 12:37 PM
> To: '[EMAIL PROTECTED]'
> 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]