File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is HttpSessionListener

 
kesava chaitanya
Ranch Hand
Posts: 140
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
what is HttpSessionListener?can anybody give me example using httpsessionlistener
 
Dhananjay Ghanwat
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
An object that implements the HttpSessionListener interface is notified when a session is created or destroyed in its web app context
It can be used to track how many users are currently logged in the system by keeping an counter in the object that implements the Listener and then subsequently incrementing / decrementing it in the appropriate methods
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic