0 Replies Latest reply on Jun 18, 2005 10:26 AM by florcsk2

    Listing all active sessions

    florcsk2

      I want to get a list of all open/active session IDs of a particular vhost to tell who is logged in. This was asked over a couple of years ago on this thread:

      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=28606

      with some decent answers regarding 3rd party solutions. But I thought maybe with JBoss 4.x, there might be an easier built-in solution now.

      When someone logs in now, I log their current session ID to the database along with the timestamp. What I'd like to do is match the list of active sessions for the virtual host with the users' session IDs from the database to tell who's currently logged in.