*
The moose likes JSP and the fly likes listing all online users on a JSP page 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 » Java » JSP
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: 60810
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 60810
    
  65

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: 60810
    
  65

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://aspose.com/file-tools
 
subject: listing all online users on a JSP page
 
Similar Threads
store data in table
when broswer back button pressed form data is changed.
Sync Requests in JMeter
WARNING AOL IM USERS
Personalized URL with Struts