Hi,
In all cases do not try to set inside view layer…
Regards,
Rénald
On 16 mars 2010, at 12:08, Jérémie <jeremie.symf...@gmail.com> wrote:
Symfony wrote:
Hi all,
I'm trying to use Symfony 2.0, and I was wondering if someone knew
how
to set/get cookies with this version?
I found a "setcookie" method in the Response class, but I can't
figure
out how to use it :/
Thanks a lot!
Jérémie
Finally I understood that I have to use getUser()->get/setAttributes.
Does anyone know how to use it in the layout, or do I have to use it
only in a controller?
Thanks
Jérémie
--
If you want to report a vulnerability issue on symfony, please send
it to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en