Is just for debugging and logging purpose, I don't have to patch/override/extend

Amedeo

On 02/feb/2010, at 17.48, Mike Schrag wrote:

>> there is a method for retreiving the active session count and is 
>> WOApplication.activeSessionCount()
>> 
>> now, is there also a method for retreiving the session list ( all session 
>> ids and eventually their creation timestamp ) ?
>       WOServerSessionStore sessionStore = (WOServerSessionStore) 
> WOApplication.application().sessionStore();
>       _sessions = sessionStore._sessions().allValues();
> 
> be very careful with this, though ... you're presuming your session store 
> impl, calling undocumented methods, and mucking with sessions that are in 
> various states of use.
> 
> ms
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to