You could use a database table (maybe add columns to one of the auth tables?).
user/account login-time When a user tries to log in check that his account is not already in the table. if it is there and the login-time is recent then don't allow login. If not there add his name/account and current time to the table and allow user. Rick On Aug 23, 1:41 am, Junaed Halim <[email protected]> wrote: > Hello all, I am using cake's Auth component for login purpose. > Now my client wants to get a list of all logged in users. > Can anyone give any advice how to do that? > > I also need to prevent multiple simultaneous login using single account. > Any help will be appreciated. > > Thank you. > > -- > Junaed Halim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
