The following is from the
servlet 2.3 specification. Could someone please inform me just how one can tell whether a session was invalided because the session timed out or the application called invalidate?
"Listener classes provide the developer with a way of tracking sessions within a web application. It is often useful in tracking sessions to know whether a session became invalid because the container time out the session, or because a web component within the application called the invalidate method. The distinction may be determined using listeners and the HTTPSession API methods".