Thanks to both of you. That's helpful.
On 28 Apr, 20:08, Miles J mileswjohn...@gmail.com wrote:
I prefer this method:
http://www.milesj.me/blog/read/31/Refreshing-The-Auths-Session
On Apr 28, 9:22 am, John Andersen j.andersen...@gmail.com wrote:
Without changing anything in the Auth
I'm using the built-in Auth component with CakePHP. In part of my
site, I allow my user to update their details (e.g. email address).
When I then retrieve the user information from the Auth component
(using $this-Auth-user()), the details are still the old ones.
Is there a way to update the
Without changing anything in the Auth component, I do think that you
could redo the login of the current user, when you have updated the
users information - for example:
[code]
$this-Auth-login( $this-Auth-user() );
[/code]
That should update the user information in the Auth session key.
I
I prefer this method:
http://www.milesj.me/blog/read/31/Refreshing-The-Auths-Session
On Apr 28, 9:22 am, John Andersen j.andersen...@gmail.com wrote:
Without changing anything in the Auth component, I do think that you
could redo the login of the current user, when you have updated the
users