Logging session timeouts

2006-02-09 Thread David Kerber
Is there any way of trapping session timeouts, so I can log them? I am logging when a user logs in and when they explicitly log out, but would like to log when their session times out, if that is possible. TIA! Dave - To

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
Users List Subject: Logging session timeouts Is there any way of trapping session timeouts, so I can log them? I am logging when a user logs in and when they explicitly log out, but would like to log when their session times out, if that is possible. TIA! Dave

RE: Logging session timeouts

2006-02-09 Thread Joey Geiger
Session Listeners http://pdf.coreservlets.com/CSAJSP-Chapter9.pdf -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 8:38 AM To: Tomcat Users List Subject: Logging session timeouts Is there any way of trapping session timeouts, so I can

Re: Logging session timeouts

2006-02-09 Thread David Kerber
() { return getClass().getName() + # + hashCode(); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 9:38 AM To: Tomcat Users List Subject: Logging session timeouts Is there any way of trapping session timeouts, so I

RE: Logging session timeouts

2006-02-09 Thread Joey Geiger
- From: Joey Geiger [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 8:48 AM To: 'Tomcat Users List' Subject: RE: Logging session timeouts Session Listeners http://pdf.coreservlets.com/CSAJSP-Chapter9.pdf -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent

Re: Logging session timeouts

2006-02-09 Thread David Kerber
: Thursday, February 09, 2006 9:38 AM To: Tomcat Users List Subject: Logging session timeouts Is there any way of trapping session timeouts, so I can log them? I am logging when a user logs in and when they explicitly log out, but would like to log when their session times out, if that is possible

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 10:56 AM To: Tomcat Users List Subject: Re: Logging session timeouts I got your code in, and it compiles, but I don't understand how I configure the url-mapping you refer to. Could you point me to some docs

RE: Logging session timeouts

2006-02-09 Thread Joey Geiger
; return new String(days+ Days +hoursStr+:+minutesStr+:+secondsStr+.+millisecondsStr); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 9:56 AM To: Tomcat Users List Subject: Re: Logging session timeouts I got your code

Re: Logging session timeouts

2006-02-09 Thread David Kerber
+hoursStr+:+minutesStr+:+secondsStr+.+millisecondsStr); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 9:56 AM To: Tomcat Users List Subject: Re: Logging session timeouts I got your code in, and it compiles, but I don't

Re: Logging session timeouts

2006-02-09 Thread David Kerber
- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 10:56 AM To: Tomcat Users List Subject: Re: Logging session timeouts I got your code in, and it compiles, but I don't understand how I configure the url-mapping you refer to. Could you point me to some docs

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
I don't believe so. Someone please correct me if I am wrong. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:09 PM To: Tomcat Users List Subject: Re: Logging session timeouts That got me going; thanks! One more question

RE: Logging session timeouts

2006-02-09 Thread Joey Geiger
] Sent: Thursday, February 09, 2006 11:09 AM To: Tomcat Users List Subject: Re: Logging session timeouts That got me going; thanks! One more question: Is there any way of telling if the session was actively invalidated, or if it timed out? Looking at the docs for HttpSessionBindingEvent, I don't

Re: Logging session timeouts

2006-02-09 Thread David Kerber
goes inactive, the session will expire, and the listener will catch it and log it) -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:09 AM To: Tomcat Users List Subject: Re: Logging session timeouts That got me going; thanks! One more

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
, February 09, 2006 12:27 PM To: 'Tomcat Users List' Subject: RE: Logging session timeouts While the user can delete the cookie that is associated with the session, the server will consider the session valid until it times out, as the user is unable to end the session manually. If you add in a link

RE: Logging session timeouts

2006-02-09 Thread Joey Geiger
Thank you for the clarification. -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:38 AM To: 'Tomcat Users List' Subject: RE: Logging session timeouts The filter, implementing HttpSessionListener, and binding itself to the session

Re: Logging session timeouts

2006-02-09 Thread David Kerber
-Original Message- From: Joey Geiger [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:27 PM To: 'Tomcat Users List' Subject: RE: Logging session timeouts While the user can delete the cookie that is associated with the session, the server will consider the session valid until it times

RE: Logging session timeouts

2006-02-09 Thread Tim Lucia
just brought it along as needed... If someone knows for sure... Please let me (us) know. Tim -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 1:16 PM To: Tomcat Users List Subject: Re: Logging session timeouts Thanks to both of you, Tim

RE: Logging session timeouts

2006-02-09 Thread GB Developer
: A session is created exactly once and destroyed exactly once. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:16 PM To: Tomcat Users List Subject: Re: Logging session timeouts I still have a question about performance: any

Re: Logging session timeouts

2006-02-09 Thread David Kerber
and destroyed exactly once. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:16 PM To: Tomcat Users List Subject: Re: Logging session timeouts I still have a question about performance: any idea which of these methods (filter