This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Who is loged in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Who is loged in " Watch "Who is loged in " New topic

Who is loged in

Prem Khan
Ranch Hand

Joined: May 30, 2005
Posts: 189
Hey is there a way to see what users are currently loged into tomcat ?
Like returning the Strings into a java.util.list or some thing ?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

It depends on what you mean by "logged in".
In a stateless environment you are never really logged in.

I have an example app on my site that registers and mapps sessions using session listeners. It may be enough to get you started.

Look for sessionMonitor.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
jQuery in Action, 2nd edition
subject: Who is loged in
Similar Threads
Unhandled execption in EXE containing executable jar file.
limiting the number of user logging an application to a specific number
how can I checked my shipping status?
Java 5 Compatibility
[B]BETA RESULTS "Java Associate"[/B]