Re: Who's logged in?
Re: Who's logged in?
- Subject: Re: Who's logged in?
- From: Kaj Hejer <email@hidden>
- Date: Tue, 15 Jun 2004 17:56:59 +0200
At 10:45 -0500 15-06-04, James Cicenia wrote:
Hello -
Is there a way to find out who is logged in an application?
((Session) session()).getLoggedIneUsers()
:)
I guess you have written a method for login in. In that method you
can maintain an array of which users is logged in.
In Session.terminate you should remove the user from this array so
that you also remove users who time out, not only those who use the
logout link/button.
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.