[Seaside] How do I set a cookie?

Avi Bryant avi.bryant at gmail.com
Tue Mar 21 03:04:59 UTC 2006

On Mar 20, 2006, at 5:48 PM, Todd Blanchard wrote:

> I want to stash some user identity information in a cookie so users  
> can return to the site and be automatically logged in.
> Where is the appropriate place to intercept the response to set the  
> cookie?

The simplest thing is to do this in a callback:

self session redirectWithCookie: (WACookie key: 'foo' value: 'bar')


More information about the Seaside mailing list