/ Published in: PHP
![](/img/icon_sav.png?v3)
A simple one liner that updates the Auth component's session variables when the user model is updated
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
foreach($this->data['User'] as $key=>$value) $this->Session->write('Auth.User.'.$key,$value);
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)