Thank you. But I'd like to set the length of the session value.

Regards,
Kirsten



                                                                                       
                               
                    "Ralph Einfeldt"                                                   
                               
                    <ralph.einfeldt@upti        An:     "Tomcat Users List" 
<[EMAIL PROTECTED]>          
                    me-isc.de>                  Kopie:                                 
                               
                                                Thema:  AW: Session Length             
                               
                    28.11.01 17:23                                                     
                               
                    Bitte antworten an                                                 
                               
                    "Tomcat Users List"                                                
                               
                                                                                       
                               
                                                                                       
                               




To set the minimal time to live for a session, you can
use any of the following:

in web.xml:

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

In your JSP or servlet:

session.setMaxInactiveInterval(30);

P.S.: Remember that this is just the minimal age
for a session. It can last much longer, if there
is some user activity in the session. (The time
you can set, is just the minimal time between the
last action in a session and the end of the second)

> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 28. November 2001 16:15
> An: [EMAIL PROTECTED]
> Betreff: Session Length
>
>
> Hi,
>
> We'd like to set the length of a session tracking session. Is
> it possible
> to set the length?
>
> regards,
> Kirsten Gl�er
>
>
> --
> 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]>






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

Reply via email to