Just wondering if the array of data return from $this->Auth->user() is
cached (either on disk or session) by default?
When creating an admin screen to update some fields the user model
returned from $this->Auth->user() was not updated.
If so, is there a quick way to refresh? My current fix:
$user = $this->User->findByUserId( $this->Auth->user('user_id') );
But that seems a bit clunky... ?
-Andy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---