Back again...

Added the following to the save block of my edit function:

$this->Session->write("Auth", $this->data);

($this->data is provided by the User edit form)

Which fixed the problem but with a minor issue (which I can live with
for now).



On Jul 14, 2:57 pm, RichardAtHome <[EMAIL PROTECTED]> wrote:
> Thanks for the feedback everyone. I'll give it a try today and post
> back my results :-)
>
> On Jul 14, 1:33 pm, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
>
> > >  Anyone know how to refresh the user record? Is it simply a case of
> > >  setting the Auth Session User var?
>
> > Looking at the Auth source, it populates the key 'Auth.' .
> > $this->userModel, or Auth.User by default. You may want to try just
> > doing $this->Auth->login() again from the edit page (be sure to pass
> > it the username and (hashed?) password).
>
> > -js
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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