tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: active session counting, redux
Date Thu, 07 Aug 2003 16:57:47 GMT

Howdy,

>2. i have a user object that gets bound to the session, so i caused
that
>user class to implement HttpSessionListener. Its sessionCreated() and

Not the best way, but since you didn't want comments on that...

>i've confirmed that it's not adding multiple entries for the same
>session id, but on my dev server, where i *think* i am the only user,
it
>thinks there are 3 active sessions. this is after logging out, at which
>point the session is manually destroyed, and logging back in.

Perhaps when the session is getting manually destroyed, as opposed to
destroyed by the container, the sessionDestroyed event doesn't fire, so
your listener doesn't remove the session from the set of active ones?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message