aspose file tools
The moose likes JSP and the fly likes listing all online users on a JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "listing all online users on a JSP page" Watch "listing all online users on a JSP page" New topic
Author

listing all online users on a JSP page

Martin Wickham
Greenhorn

Joined: Aug 02, 2011
Posts: 4
I have been trying to make a program in which multiple users can interact with each other and with the page itself. Is there a way to get a list of all of the users on the page?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56229
    
  13

That very much depends upon what you define as a "user".


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Martin Wickham
Greenhorn

Joined: Aug 02, 2011
Posts: 4
By a user I mean an active session.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56229
    
  13

All sessions are active. If you are looking for a way to iterate over sessile, there is no supported way. Does the site have a login.
Martin Wickham
Greenhorn

Joined: Aug 02, 2011
Posts: 4
Not a login exactly, but it asks for your name at the start page.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56229
    
  13

Record all such names in a List placed in application scope.
Martin Wickham
Greenhorn

Joined: Aug 02, 2011
Posts: 4
Ok, thanks.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: listing all online users on a JSP page
 
Similar Threads
WARNING AOL IM USERS
store data in table
Personalized URL with Struts
Sync Requests in JMeter
when broswer back button pressed form data is changed.