A little more about what I'm trying to do:

I have a decorator function defined in a model that I use to decorate many 
of my controller functions. I want to set the cookie within this decorator.

On Wednesday, August 8, 2012 4:26:00 PM UTC-4, Yarin wrote:
>
> I need to set a cookie on every request, so I tried setting it in the 
> model, but it never works. Setting it in controllers is no problem. I 
> couldn't find any documentation on this- is this behavior expected?
>
> If so, is there a way to ensure a cookie gets set on every request, short 
> of setting it in each controller file?
>

-- 



Reply via email to