File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes what is HttpSessionListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "what is HttpSessionListener" Watch "what is HttpSessionListener" New topic
Author

what is HttpSessionListener

kesava chaitanya
Ranch Hand

Joined: Aug 15, 2001
Posts: 140
hi
what is HttpSessionListener?can anybody give me example using httpsessionlistener
Dhananjay Ghanwat
Greenhorn

Joined: Dec 23, 2002
Posts: 27
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is HttpSessionListener