$id = $this->Session->id();
It should be transparent whichever storage type you use.
Maybe I'm not reading your question right but it could be as simple as doing:
$this->Session->write('FileManager.access', 1);
// somewhere else ...
$access_ok = $this->Session->read('FileManager.access');
On Sat, Dec 8, 2012 at 7:16 AM, mebibyte <jmebis@gmail.com> wrote:
> Hey
>
> I'm using the simogeo filemanager and I want to check if the user is
> authorized to acces the filemanager.
> When I use the php session, I can acces the session data. But I want to use
> the database session in cakephp and with that I can't acces the session id
> for searching in my database table.
>
> So, how can I get the id which is saved in the database session?
>
> Thanx
>
>
>
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
Saturday, December 8, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment