Yes,
That's what I'm doing: 1) save data to database, 2) (the problem) how
to refresh the session from the database without them having to
logout / log back in.
Zoltan
On Apr 23, 4:12 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
> Hey,
> Shouldn't you change it in db and update the auth data from the db ?
> look at Auth/session how the data is stored.
>
> HTH,
>
> On Wed, Apr 23, 2008 at 8:38 PM, Zoltan <[EMAIL PROTECTED]> wrote:
>
> > I've got a section where I'd like to let a user change their username,
> > with something like:
>
> > e.g. $this->Auth->user('username') = $this->data['User']['name'];
>
> > However this gives an error, is there a way to do this properly?
>
> > Zoltan
> > www.YYZtech.ca
>
> --
> Marcin Domanskihttp://kabturek.info
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---