Top Description Methods
javax.servlet.http

public Interface HttpSessionListener

extends EventListener
Imports
java.util.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.
Since
Servlet 2.3
Version
$Rev: 46019 $ $Date: 2004-09-14 04:56:06 -0500 (Tue, 14 Sep 2004) $
See Also
HttpSessionEvent

Method Summary

Modifier and TypeMethod and Description
public void
sessionCreated(HttpSessionEvent
the notification event
se
)

Notification that a session was created.

public void
sessionDestroyed(HttpSessionEvent
the notification event
se
)

Notification that a session is about to be invalidated.

Method Detail

sessionCreatedback to summary
public void sessionCreated(HttpSessionEvent se)

Notification that a session was created.

Parameters
se:HttpSessionEvent

the notification event

sessionDestroyedback to summary
public void sessionDestroyed(HttpSessionEvent se)

Notification that a session is about to be invalidated.

Parameters
se:HttpSessionEvent

the notification event