[Seaside] Cookies (again?)
Avi Bryant
avi at beta4.com
Fri May 14 02:31:07 CEST 2004
On May 13, 2004, at 4:47 AM, Vadim Kolontsov wrote:
> As far as I understand, I can get cookie using 'self currentSession
> currentRequest cookies at: ...'.
>
> But what is the best way to _set_ cookie from the component? I've
> found "WAGenericResponse cookieAt: put:' and assume that I can add
> some code to WASession to use it, right?
Try something like this:
renderContentOn: html
html document cookieAt: 'foo' put: 'bar'.
...
Avi
More information about the Seaside
mailing list