How to track the users who are currently logged into the site

Discussions

Web tier: servlets, JSP, Web frameworks: How to track the users who are currently logged into the site

  1. Hello Java guys,

    We developing a site using servlets and jsp.We are using HttpSession also.How can we track the count of active users of that site.If any body have any idea please let me know....thanks in advance..

    Basha
  2. Check out the following link in the comp.lang.java newsgroup. If that fails go to the "Groups" tag and www.google.com and for the search enter: jamonapi session

    http://groups.google.com/groups?q=jamonapi+session&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=ebebc4e9.0210141705.1101cc4%40posting.google.com&rnum=1
  3. The sample code is now available at

    http://www.javaperformancetuning.com/tools/jamon/httpsession_sample.html