Programmatically it can be done with HttpSession.setMaxInactiveInterval(int
seconds).  This can be useful if you want to different timeouts for
different types of users.
 
Mark

  _____  

From: Adrian Mitev [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 06, 2007 12:12 AM
To: MyFaces Discussion
Subject: [Norton AntiSpam] Re: How to set session-timeout?


Session timeout is configured in web.xml. Like this:

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



2007/2/6, Thomas Chang < [EMAIL PROTECTED]>: 

Hi all,

I want to set a so-called session timeout to my web application, so that is
a user after logon and doesn't do anything for a while, his session will be
closed and he has to re-logon to enter the web-application. 

I wonder this can be configue in server such as BEA-Webcontainer or I have
to programm it. How?

Regards

Thomas




  _____  

Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr
bietet das neue Yahoo! Mail
<http://de.rd.yahoo.com/evt=40589/*http://de.docs.yahoo.com/ymail/landing.ht
ml+%0A> . 




Reply via email to