Doubt with JavaEE sessions

2

Is it possible to get a list of open sessions ? Not the amount (sessionlistener), but the sessions themselves so I can find values in their attributes.

    
asked by anonymous 28.11.2014 / 20:45

1 answer

1

There's nothing specific in the API for this, as already commented by Anthony. I think the reason is quite simple: it would be a huge security flaw.

There is a way to store shared information for application , which is a global value rather than a session

The rule is: share in the session what is individual, create application variables for what is shared.

    
30.11.2014 / 16:10