• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sessions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sessions


  • Subject: Re: Sessions
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 25 Apr 2006 17:30:34 +0200

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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
40logicunited.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Sessions (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Sessions
  • Next by Date: Re: Sessions
  • Previous by thread: Sessions
  • Next by thread: Re: Sessions
  • Index(es):
    • Date
    • Thread