This content has been marked as final.
Show 2 replies
-
1. Re: List all user sessions
lightguard Apr 30, 2012 11:47 AM (in response to riboriori)1 of 1 people found this helpfulSeems like something you'd have to keep track of with a SessionListener or possibly tie into the app server itself.
-
2. Re: List all user sessions
blabno Apr 30, 2012 12:20 PM (in response to riboriori)It's simple. Create application scoped bean that listens to session create and destro events.
public void observeSessionInitialized(@Observes @Initialized HttpSession session)
public void observeSessionInitialized(@Observes @Destroyed HttpSession session)