Interface HttpSessionListener

All Superinterfaces:

public interface HttpSessionListener extends EventListener
Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.
Servlet 2.3
See Also:
  • Method Details

    • sessionCreated

      void sessionCreated(HttpSessionEvent se)
      Notification that a session was created.
      se - the notification event
    • sessionDestroyed

      void sessionDestroyed(HttpSessionEvent se)
      Notification that a session is about to be invalidated.
      se - the notification event