Add to the web.xml:
<session-timeout>10</session-timeout>
The unity of the value are minutes.

Greetings Alex

 +-----------------+
 | Alexander Meyer |
 +-----------------+--------------------------------+
 | Sponackerweg 54                                  |
 | 63808 Haibach                                    |
 |                                                  |
 | Tel. 0 60 21 / 61 05 35                          |
 | E-Mail [EMAIL PROTECTED]                        |
 | Homepage http://www.alexmeyer.org                |
 |                                                  |
 | Zertifikate:                                     |
 | Brainbench Certified Master Java Server Pages    |
 | (JSP 1.1) Developer                              |
 | Brainbench Certified Master PHP 4 Developer      |
 | Brainbench Certified Master JavaScript Developer |
 | Brainbench Certified Master HTML 3.2 Developer   |
 | Brainbench Certified Java 2 Developer            |
 | Brainbench Certified XML Developer               |
 | Brainbench Certified HTML 4 Developer            |
 | Brainbench Certified WWW Concepts Architect      |
 +--------------------------------------------------+


> -----Ursprüngliche Nachricht-----
> Von: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]Im Auftrag von
> Robert Berry
> Gesendet: Dienstag, 20. März 2001 21:45
> An: [EMAIL PROTECTED]
> Betreff: Removing Sessions Automatically
>
>
> Hi,
>
> I think I remember reading somewhere that Tomcat can be configured to
> automatically invalidate a session if it is left idle for a set period of
> time (defualt 30 mins). Can someone please tell me if:
>
>     a) this is correct and
>     b) where can you change the default time.
>
> Thank you in advance.
>
> Rob
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to