Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I wantr to know, How many number of users logged in to
website? can any one answer

Answer Posted / anket dhulekar

Use listeners. Since you want to to know how many users have
logged in, so the login info would be stored in a session.
You can create a filter by extending HttpSessionListener,
and update a static variable when the session is created.

The value of this variable will store the number of users
currently logged on.

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Brief description about local interfaces?

1267


Write a program to show synchronization?

1148


How can I scroll through list of pages like the search results in google?

965


What is the diffrence between a local-tx-datasource and a xa-datasource?

1051


What is aop(assepct oriented programing)?

1063


What is difference between object state and behavior?

1098


How messaging services are done, before release of JMS?

2140


What is a class loader?

1903


What is the difference between RMI registry and OS Agent?

1140


What class is the top of the awt event hierarchy?

1113


What do you know about seam?

1054


What is in-memory replication?

1064


how i secure my site with the https protocol.what are the steps?

2338


How to implement RMI in Java?

2871


what are getters and setters in Java with examples?

1781