Package com.jk.web.servlets
Class JKSessionListener
java.lang.Object
com.jk.web.servlets.JKSessionListener
- All Implemented Interfaces:
 jakarta.servlet.http.HttpSessionListener,EventListener
@WebListener
public class JKSessionListener
extends Object
implements jakarta.servlet.http.HttpSessionListener
This class is a Servlet Session Listener responsible for monitoring session
 creation and destruction.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidsessionCreated(jakarta.servlet.http.HttpSessionEvent se) This method is called when a new session is created.voidsessionDestroyed(jakarta.servlet.http.HttpSessionEvent se) This method is called when a session is destroyed. 
- 
Constructor Details
- 
JKSessionListener
public JKSessionListener() 
 - 
 - 
Method Details
- 
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent se) This method is called when a new session is created.- Specified by:
 sessionCreatedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
 se- Specifies the HttpSessionEvent associated with the session creation.
 - 
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent se) This method is called when a session is destroyed.- Specified by:
 sessionDestroyedin interfacejakarta.servlet.http.HttpSessionListener- Parameters:
 se- Specifies the HttpSessionEvent associated with the session destruction.
 
 -