In an app I use, a main class kicks off the jetty server. AFTER the line
server.start(), I wrote:
Handler handler = server.getHandler();
if(handler instanceof WebAppContext) {
System.out.println("found wac");
WebAppContext rctx = (WebAppContext) handler;
rctx.getSessionHandler().getSessionManager().setMaxInactiveInterval(30); // sets to 30 sec
}
this seems to work.
Colin Canfield-3 wrote:
I am not 100%, but I think this is the equivalent of
setMaxInactiveInterval in session manager. I have tried setting this
but to no help, it still takes around 10 minutes to time out.
Anyone out there had more success with time outs, or know of a
different way to set it ?
Regards, Colin
> There is a session-timeout element in webdefault.xml that you might
> need
> to have a look at.
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email