I would like to not allow two users with the same usename to be in a web application at the same time. Therefore what I was thinking was to keep a HashMap of username and session id in the application scope and on login check against this map.
What I was wondering is if there was a way to programatically pull a session id out of this HashMap and have the server automatically invalidate the session (instead of waiting for the user who is having their session invalidated submit a request and have to check for some global variable each time). Basically I want to have the ability to kill other user's sessions. Is this possible? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869722#3869722 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869722 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user