As each user logs in to my site, I want to add him or her to a "global session" so, that on another
JSP page, I can list all the users who are currently logged in. I also want to, using a meta refresh, keep this list up to date if a user either closes the browser or logs out.
For example, if user one logs in then the page will have his or her name. When the second user logs into the site, then the page would list both users and so on.
It seems that the HttpSession session API is within the same user's session, not a "gloabl" session for all users.
Can what I want to do be done with HttpSessions or should I implement a database solution or other method to track all the logged in users?
Thanks very much for any and all replies.
-- Mike