com.ibm.websphere.servlet.session
Interface IBMSessionListener
All Superinterfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener
- public interface IBMSessionListener
- extends javax.servlet.http.HttpSessionListener
- the session timed out
- the session was programatically invalidated
- the session cache is full and this is the least-recently-used session (distributed environment only)
A session will eventually time out on every server that accesses the session, and therefore sessionRemovedFromCache() will be called on all of these servers. sessionDestroyed() is only called during session invalidation, which only happens on one server. Further, the server that invalidates and calls sessionDestroyed() may or may not be the same server that created a session and called sessionCreated().
Method Summary
Modifier and Type | Method and Description |
---|---|
|
sessionRemovedFromCache(java.lang.String sessionId)
|
Methods inherited from interface javax.servlet.http.HttpSessionListener |
---|
sessionCreated, sessionDestroyed |
Method Detail
sessionRemovedFromCache
- void sessionRemovedFromCache(java.lang.String sessionId)