File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

what is HttpSessionListener

kesava chaitanya
Ranch Hand

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

Joined: Dec 23, 2002
Posts: 27
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:
subject: what is HttpSessionListener
It's not a secret anymore!