Re: Active sessions
Stefan Klein <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bill,
WOServerSessionStore sessionStore = (WOServerSessionStore)
WOApplication.application().sessionStore();
_currentSessions = sessionStore._sessions();
Enumeration enumIds = activeSessions.objectEnumerator();
while (enumIds.hasMoreElements())
{
Session aSession = (Session) enumIds.nextElement();
...
}
Stefan
WILLIAM GARNETT schrieb:
>Hello everyone;
>
>
>
>Do you know weither I can get a list of an WOApplication's active sessions?
>
>(I know you can get a count of them, but I need a list of the sessions
>themselves.)
>
>
>
>
>
>Cheers,
>
>Bill.
>
>
>_______________________________________________
>WebObjects-dev mailing list
>[email protected]
>http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
>
>