There are some notifications sent, like SessionDidCreateNotification
and SessionDidTimeOutNotification. you could use those.
public static final String SessionDidTimeOutNotification =
"SessionDidTimeOutNotification";
public static final String SessionDidRestoreNotification
= "SessionDidRestoreNotification";
public static final String SessionDidCreateNotification
= "SessionDidCreateNotification";
Cheers, Anjo
Am 25.04.2006 um 17:22 schrieb Kieran Kelleher:
I would like to get an array of sessions to list currently logged
in users. I don't see any obvious API (for example in
WOSessionStore, WOApplication, etc.) for grabbing an array of
references to sessions and I guess this is by design to prevent
concurrency problems? I know I could use the database to capture
log-in time, last request time and log-out (if they did) I guess.
Just looking for a good strategy to get current session/user stats.
Any one do this sort of thing before?
-Kieran
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/krank%
40logicunited.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to archive@mail-archive.com