Take a look at the IRequestLogger interface it provides all sorts of
statistics although not the number of authenticated users, but maybe
you can customize the SessionData class a bit to include that
information.

Maurice

On Mon, Mar 17, 2008 at 9:10 PM, Martijn Lindhout
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  In my application I track the number of users logged in. When they logout, I
>  decrement the count. However, not every user will do an explicit logout, so
>  I have to depend on the container to destroy the session.
>  Because not all sessions are 'logged in' sessions, I need to check wheter
>  the user was logged in. Using this approach wont work, because I don't have
>  the session anymore.
>
>     protected ISessionStore newSessionStore() {
>         return new HttpSessionStore(this){
>             @Override
>             protected void onUnbind(String sessionId) {
>                 super.onUnbind(sessionId);
>             }
>         };
>     }
>
>  How do I do this?
>
>  --
>  Martijn Lindhout
>  JointEffort IT Services
>  http://www.jointeffort.nl
>  [EMAIL PROTECTED]
>  +31 (0)6 18 47 25 29
>

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

Reply via email to