On 5/15/07, jyrgen <[EMAIL PROTECTED]> wrote: > Than my "boss" came up and said : hey can you modify the > login logic so that a user cannot login twice (because our > customers tend to borrow their accounts to colleagues) > Sure i can do. So what do i have to do ? I search the session > table to make sure that a user is not logged in twice.... > hm... don't you agree ??
Don't you see your mistake? You agreed to do something before making sure you could actually do it. :) Yes, what you suggest is logical BUT without understanding HOW PHP stores the info in the sessions table you can't possibly pull the data you want out of a session. I know I keep saying it, but you need to go read on how PHP stores the data in a sessions table. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
