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

Is there a guarantee of uniqueness for entity beans?

1014


Are there books about seam?

1112


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2675


whats is mean by connectionpooling

2013


Can you control when passivation occurs?

1069


How would you reatach detached objects to a session when the same object has already been loaded into the session?

1216


What are the oops concept?

1083


what are the activation groupworks?

2203


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2246


What is the difference between the string and stringbuffer classes?

1105


Is a class a subclass of itself?

1225


How database connectivity in XML is achieved?

2245


What do you mean by Socket Programming?

1093


Explain about RMI Architecture?

1079


Why do I get a duplicate name error when loading a jar file?

1154