hi Using Session.setMaxInactiveInterval() so expecting it overwrite web.xml 's expirytime.
>keep-alive parameter for the connector Where to set this value can u explain? thanks On Tue, May 24, 2011 at 4:43 PM, Martin Gainty <mgai...@hotmail.com> wrote: > > 2 things to look at: > keep-alive parameter for the connector > session-timeout in web.xml > > do the logs confirm the webapp is producing activity when the connection is > closed? > Martin -- > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie > de ceci est interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > Date: Tue, 24 May 2011 11:38:35 +0530 > > Subject: Session Expiry Issue on Tomcat 5.5.27 > > From: simran...@gmail.com > > To: users@tomcat.apache.org > > > > Hi All > > > > In our application we are trying to manage session per user login and > have > > set the session inactivity to 15 minutes [user details are set to the > > session], when we are running the application for longer duration [over 2 > > days] with continuous activity per user login we see that some session > are > > expired even if there is some activity going on and the user gets logged > > out. We are deploying our application on tomcat 5.5.27. > > > > > > Regards > > Harsimran > >