Re: counting sessions
Re: counting sessions
- Subject: Re: counting sessions
- From: Mike Schrag <email@hidden>
- Date: Tue, 2 Feb 2010 11:48:02 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden