Anthony, Rocha- thanks but this was a completely different problem- nothing 
to do w decorators/models- Im making another post to explain...

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?
>
> Works in controllers, not models:
> response.cookies['my_cookie'] = 'something'
>
>
>

-- 



Reply via email to