javax.servlet.http
Interface HttpSessionListener
- java.util.EventListener
public interface HttpSessionListener
extends java.util.EventListener
Implementations of this interface may are notified of changes to the
list of active sessions in a web application.
To recieve notification events, the implementation class
must be configured in the deployment descriptor for the web application.
- v 2.3
HttpSessionEvent
sessionCreated
public void sessionCreated(HttpSessionEvent se)
Notification that a session was created.
se
- the notification event
sessionDestroyed
public void sessionDestroyed(HttpSessionEvent se)
Notification that a session was invalidated.
se
- the notification event