0 Replies Latest reply on Nov 16, 2007 6:27 AM by minnk keyl

    Accessing all current HTTP Sessions

    minnk keyl Newbie


      Could anyone please tell if theres is any way to access all HTTP Sessions?
      For example, say I wanted to print all current sessions:

       // Print sessionIDs of all HttpSessions of this web application:
       HttpSession[] allSessions= ???
       for(int i=0; i<allSession.length; i++){

      How do you get all those sessions?
      I don't mind if it's jboss/tomcat specific, or general JEE spec.

      Thanks very much :)