Re: Session Expiry Issue on Tomcat 5.5.27

2011-05-24 Thread Harsimranjit singh Kler
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 wrote: > > 2 things to look at: > keep-alive parameter for the c

RE: Session Expiry Issue on Tomcat 5.5.27

2011-05-24 Thread Caldarale, Charles R
> From: Harsimranjit singh Kler [mailto:simran...@gmail.com] > Subject: Session Expiry Issue on Tomcat 5.5.27 > we see that some session are expired even if there is some > activity going on and the user gets logged out. Are you sure the session is expiring, or is it perhaps being explicitly

RE: Session Expiry Issue on Tomcat 5.5.27

2011-05-24 Thread Martin Gainty
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 confidenti

Re: Session expiry

2007-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Mike Quilleash wrote: > Does anyone know if there's a method for determining if the Session for > a user has expired since the last request? When a request comes in from a user who /did/ have a session, it should include a session identifier. I

Re: Session expiry

2007-03-20 Thread Mikolaj Rydzewski
Mike Quilleash wrote: I can tell from this when the session expires but then I want to notify the user that was using that session next time they make a request. Maybe HttpSession.isNew()? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

RE: Session expiry

2007-03-20 Thread Mike Quilleash
nt I would also like to display at the top of the login page "Your session expired due to inactivity, please log in again". Hope that clarifies. Cheers. Mike. -Original Message- From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Sent: 20 March 2007 08:43 To: Tomcat Users List

Re: Session expiry

2007-03-20 Thread Mikolaj Rydzewski
Mike Quilleash wrote: Does anyone know if there's a method for determining if the Session for a user has expired since the last request? Basically I have a Filter that does an "is logged in" check and redirects to a login page if the user is not logged in. This works fine but in the case of Ses