Return to Snippet

Revision: 30679
at August 19, 2010 05:46 by robksawyer


Initial Code
foreach($this->data['User'] as $key=>$value) $this->Session->write('Auth.User.'.$key,$value);

Initial URL

                                

Initial Description
A simple one liner that updates the Auth component's session variables when the user model is updated

Initial Title
Update User Session

Initial Tags
php

Initial Language
PHP