Hi,

you can control the session-timeout via the web.xml file:

<web-app>
...
<session-config>
  <session-timeout>10</session-timeout> 
</session-config>
...
</web-app>

this sets session timeout to 10 minutes.

You can also use:
HttpSession.getMaxInactiveInterval();

With the service problem:
Perhaps you have to modify the rights for the user who starts the service.
Perhaps its enough to start the service as an administrator.

Bye

Arndt



> -----Ursprungliche Nachricht-----
> Von: Catalin [mailto:[EMAIL PROTECTED]]
> Gesendet: Wednesday, December 19, 2001 10:14 PM
> An: [EMAIL PROTECTED]
> Betreff: VERY VERY URGENT!!!!
> 
> 
> 
> 
> Hi to all!
> 
> I have an problem and I'm running out of time:
> 
> I have an jakarta-tomcat-3.3-m4 running as an service on an NT 4.0
> server.
> 1. I want the Jakarta service keep functioning when an user 
> logoff from
> NT (now it is stopping).
> 2. I want to set the timeout of the session to 1 hour or more (now, if
> I let any webappication open without doing nothing, after 30 minutes I
> loose the server session and all the variables from it).
> 
> Thanks 2 all for any suggestion you may have!
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to