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

    Listing all active sessions

    Scott Newbie

      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:


      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.