Mike Campbell wrote:
 

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

I'm glad it helped.
.  My question is about timeouts; where is the timeout value set?
 
The default timeout value is set in the web.xml file, like this:

    <session-config>
        <session-timeout>
            30 <!-- minutes -->
        </session-timeout>
    </session-config>

but at any time, you can change the timeout for an individual session by calling session.setMaxInactiveInterval() with a new value (measured in seconds).

 
Thanks
Craig McClanahan
 

Reply via email to