[EMAIL PROTECTED] wrote:

hi
is there anty posibility to check how many users are logged in jsf
application (i mean just how many sessions are created)?
if yes - is there any posibilty to get their mannaged beans?

slawek


Hi,

since neither ServletContext nor other classes provides access to the number of sessions, there is no way through faces imho.
But you can write a httpsessionlistener like this one.

http://archive.moreservlets.com/Event-Code/events/WEB-INF/classes/moreservlets/listeners/SessionCounter.java

Maybe this helps.

Rgds
Alex

Reply via email to