On Mar 16, 8:32 pm, Rénald Casagraude <[email protected]>
wrote:
> Hi,
>
> In all cases do not try to set inside view layer…
>
> Regards,
> Rénald
>

Yes, I do all the work in the Controller. I set in it, and get it
there too. And then, I send it to the template, as an argument of the
render method.

Thanks
Jérémie
> On 16 mars 2010, at 12:08, Jérémie <[email protected]> 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to