[Seaside] how to retrieve cookies?

Philippe Marschall philippe.marschall at gmail.com
Fri Dec 14 18:01:52 UTC 2007

2007/12/14, Esteban Lorenzano <estebanlm at gmail.com>:
> Hi all,
> This is a dumb question, but it is annoying me:
> I am creating a cookie with, like this:
> self redirectWithCookie: WACookie key: 'officious' value:
> 'estebanlm at gmail.com '.
> And then, I'm trying to retrieve it with:
> aCookie := (self session currentRequest cookieAt: 'officious').
> aCookie value has a strange string, something like "AJHGfjddggaAVSGF" (or
> similar) :(
> What's my error?
> What I'm doing wrong?

Can you gather a bit more information? Can you check if WACookieTest
works ('Cookies' under /seaside/tests/alltests)? Can you inspect the
cookies dictionary in the request (both WARequest and nativeRequest)?


More information about the seaside mailing list