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
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
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
()
{
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
-
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
: 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
-
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
;
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
+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
-
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
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
]
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
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
, 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
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
-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
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
:
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
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
19 matches
Mail list logo