Pfieuw, I found the solution.
I assumed that cakephp was using the session for storing the userAgent. 
This is needed for searching in de cake_sessions table. 
But I didn't know that you can get the userAgent with this: 
$_SERVER['HTTP_USER_AGENT'] 
en then cakephp is hashing it.  
So, there is no session, I think it is destroyed just before loading the 
page because I'm using the database session configuration.

No I just need to create a plugin (not that easy) so that I don't have to 
copy the security salt.

Thanx for your comments cricket.


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