Hi Majna,
it's not that i want to check for expiration, but rather if a user is
already logged in. (see above)
i cannot simply test for sth. like
$this->Session->read('logged_in')
because this refers to the current session, which i am just about
to construct...
therefore i had to search all existing session entries in the db for
a userID and the logged_in flag.
the code i posted is ugly, i looked at /lib/session.php twice but i
was not
able to determine how cake unserializes the session vars.
still i'm looking for a better solution.
regards, jyrgen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---