On 5/15/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
> On 5/15/07, jyrgen <[EMAIL PROTECTED]> wrote:
> >
> > i need access to *all* existing valid sessions in the table,
> > so i can test, if a user is already logged in .
> >
>
> Why can't you set a cookie?  Way easier.
>

Although now that I think about it, a better solution is a custom
session handler with the user ID as the key of the table.  Short of
using some other method of keeping track who is logged in, I can't
imagine an easy way.

So what array structure *do* you get when you read the table and
unserialize the response?

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to