If you want to perform some task when a session is created or destroyed, which listener should you implement?

  • HttpSessionAttributeListener
  • HttpSessionListener
  • ServletContextListener
  • ServletRequestListener
The HttpSessionListener interface is used to perform tasks when a session is created or destroyed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *