Hi gkc,

> I am writing the user role to the the session with
> $this->Session->write('User.role',$this->$dbuser['User']
> ['role']).
Are you sure, that ",$this->$dbuser['User']['role']" is a string?

Try like this:
$this->Session->write('User.role', (string)$this->$dbuser['User']
['role']);

Hope that helps
RoVo
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to