The number of session is available from the servlet engine, i.e. Tomcat's manager webapp. Since users do not login via the servlet engine, you will not be able to tell which sessions are logged in or the users connected.

Paul Spencer

Luta, Raphael (VUN) wrote:

De : Stefan Kuhn [mailto:[EMAIL PROTECTED]]

Envoy� : mercredi 8 janvier 2003 18:58
� : Jetspeed Users List
Objet : Monitoring number of sessions/logged in users


Hi everybody,
I thought it could be usefull to have the possibility for the admin to monitor the number of open sessions/currently logged in users, but I didn't find it. Is it somewhere in the admin portlets ? If not, I suppose it wouldn't be too difficult to implement. Or does sombody know problems I don't expect myself ? (If not, I would implement it for myself and contribute the code, if considered to be usefull).
Happy new year to all jetspeed people
Stefan


Depending on your setup and what exactly you want to count, it rates
from dead easy to moderately challenging (in clustered environment without
global session coherence).

The easiest way to setup is to bind a counter object to all sessions using
the HttpSessionListener in a custom SessionValidator.

--
Rapha�l Luta - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to