Maybe you could add a session_id column to your users table. When a user logs in you can store their session_id in the table. Now every time a user requests a page, check the session_id in the table against the current value returned by PHP's session_id(). If it is not the same, log the user out because someone else logged in with their name.
I'm not very experienced with sessions, so I could be way off. Russell Austin On May 15, 2:49 pm, jyrgen <[EMAIL PROTECTED]> wrote: > hm. do you mean i should rather store the login state > somewhere else, in another table... ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
