[Zope] how to count authenticated and anonymous users currently online ?

Dieter Maurer dieter at handshake.de
Fri Mar 17 13:54:48 EST 2006


Luca Dall'Olio wrote at 2006-3-16 23:39 +0100:
> ...
>Could you please help me find out the list of active sessions? this is 
>driving me crazy...

You find not the list but its length on the "Manage" tab
of "/temp_folder/session_data".

And (as you know) you can look at the source for this page
to learn which method is used to determine the value.

As the next step, you look at the source of this method.
It is unlikely that the lower methods are available for
untrusted code (you do *NOT* want that some untrusted code
can look into all sessions) but in trusted code
(e.g. an "ExternalMethod"), you will be able to use them.


-- 
Dieter


More information about the Zope mailing list