Thanx for your respons

Your suggestion is working when I use this configuration 
Configure::write('Session', array(
'defaults' => 'php'
));
but not when I use
Configure::write('Session', array(
'defaults' => 'database'
));

The filemananger is not working through the cakephp framework. So I can't 
use the  $this->Session->read('FileManager.access');
I'm doing this: 
session_name('CAKEPHP');
session_start(); 
if($_SESSION['filemanager'] != 'true') {die();}

However, in this method the $_SESSION remains empty.


Op zaterdag 8 december 2012 13:16:17 UTC+1 schreef mebibyte het volgende:
>
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to