Using database should not make any difference in your code. You can use $this->Session->read('User.id') for example.
On Aug 5, 10:40 am, phpcurious <[EMAIL PROTECTED]> wrote: > Hi, > > I am getting frustrated with the session component in cakephp > 1.1.xxx . > I already configured core.php to define('CAKE_SESSION_SAVE', > 'database'); > > but how do i retrieve current session to check if current session is > still active ? > by using $this->cake_session->findAll($id) ? how do i get the $id? > > if you have alternatives that you can tell me, I would be very glad to > know. > please help... > > thanks in advance! > ;p --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---