You can get some of this if you set up your app to use the database to store sessions. Look at config/core.php where it talks about setting Session.save to 'database'
On Jan 5, 10:50 am, Bernardo Vieira <bvieira.li...@gmail.com> wrote: > AFAIK you'd need to create custom login and logout actions in your users > controller to keep a list of logged in users. > > jmmg77 wrote: > > Hi, > > > I'm using Cake 1.2 RC3 and the Auth component. > > > Is there a way to simply list the user accounts that are logged in. > > Or, is there a way to check if a particular userid is logged in? > > > I know I can use $session->check('Auth.User.id') or $this->Auth->User > > ('id') to check if the current user is logged in, but this is not what > > I need here. > > > Thanks. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---