[Catalyst] updating $c->user at runtime

Wijnand Wiersma wijnand at nedbsd.nl
Tue Feb 7 00:57:28 CET 2006


Hi all,

When the user has updated his profile I immediately display a summary  
of his profile again.
In this template I use c.user.user.name etc to display the values.  
But after editing the profile I get the old values there.
Is it possible to set $c->user again after editing? I don't want to  
add a second template or duplicate code.

I did find that $c->user->set() exists but I couldn't figure out what  
that is and how to use it.

Wijnand



More information about the Catalyst mailing list