I would like to know how many anonymous users are online .
This would be more than enough to me, to know how many sessions are
still available.
If I could have the list of the ids of every active session, I could
easily build the list I need (by the getSessionDataByKey() method)...
I tried with something like :
<dtml-in "temp_folder.session_data.keys()">
A session.
but not even "manager" is allowed to execute that.
Thank you guys,
Bingo! i did it. here i am putting the code snippet so that everybody can refer if they required.
Here is things is :-
If you want to get the count of total active user so you have to forcefully create a a session of anonymous user and then get the count of total stroed session which is present in session data manager object in zope.
Thanks for your recommendation, But I am obliged to use default Z2 Session functionality instead of other session storage.pridcut. Hence In my application the session time out in 5 minute so i think we could manage the session for anonymous user too.
Once again thanks for your recommendation i will definitely look into it.