thanks for your answer chris, this was a good hint. actually the timeout in tomcat/conf/web.xml was set to 30 minutes, but tomcat NEVER kills my sessions (not even after 30 minutes).
############## /var/log/messages/tomcat5/ catalina.out ################### new session-object created, # '9A8DC55C6B8043AA6BE12E9027699C64' -> CreationTime (DD.MM.YY HH:MM): 18.05.05 14:11 -> MaxInactiveInterval: 120 seconds -> Web-Browser: Mozilla/5.0 (compatible; Konqueror/3.4; Linux 2.6.11-gentoo-r8; X11; i686; de) KHTML/3.4.0 (like Gecko) logged in: admin (Administrator, 11)', from session-id '9A8DC55C6B8043AA6BE12E9027699C64' -> Time (DD.MM.YY HH:MM): 18.05.05 14:15 admin (Administrator, 9A8DC55C6B8043AA6BE12E9027699C64) manually logs out! -> Time (DD.MM.YY HH:MM): 18.05.05 14:20 session destroyed for 9A8DC55C6B8043AA6BE12E9027699C64 (username: admin) ############################################ Am Mittwoch, 18. Mai 2005 15:03 schrieb [EMAIL PROTECTED]: > there is one web.xml in your webapp /WEB-INF/ > ander there is one web.xml in tomcat /conf/ > > I had problems in earlier tomcat versions, that the tomcat conf was the > ruling setting > > greets > > chris > > > > > > "Hendrik Neumann" <[EMAIL PROTECTED]> > 18.05.2005 14:30 > Bitte antworten an "MyFaces Discussion" > > An: [email protected] > Kopie: > Thema: Tomcat totally ignores my timeout-settings > > > Hi everybody, > > I'm sorry for posting this tomcat-question on the myfaces-list, but maybe > some of you guys can give me a hint! > > I have following problem (see "What is happening to the session if a user > closes his browser?" for more informations): I have created and > registered an HttpSessionListener which sets the MaxInactiveInterval to > 120 seconds in the sessionCreated-method, whenever a new session is > created. Then I have System.out.println("session is killed") in the > sessionDestroyed-method of this listener. But the sessionDestroyed-method > is never called and the session is NEVER killed. I have also a > <session-config> > <session-timeout>2</session-timeout> > </session-config> > in my web.xml but this doesn't help ether. > > What am I doing wrong? Why doesn't tomcat kill my session why does it > ignore my settings? > > Greetings, > Hendrik > ______________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

