[hunchentoot-devel] Reading and writing additional cookies.
Lars Rune Nøstdal
larsnostdal at gmail.com
Mon Aug 25 06:23:53 UTC 2008
On Sun, 2008-08-24 at 22:14 -0700, Yarek Kowalik wrote:
> I'm in the process of writing an application based on Weblocks.
> Weblocks uses Hunchentoot - I have been using version 0.11.1.
>
> I would like to set some application specific cookies. I would I go
> about doing that? My initial guess would be to setup a handler in the
> dispatch table and access (via special) the *reply* object to set the
> cookie using setf on cookies-out, and similarly access the *reqest*
> object to read the cookie value.
>
> Am I on the right track? Suggestions please.
>
> Thanks,
>
> Yarek
>
Hi,
SET-COOKIE and (COOKIE-IN <name>) works for me when setting "custom"
cookies.
--
Lars Rune Nøstdal || AJAX/Comet GUI type stuff for Common Lisp
http://nostdal.org/ || http://groups.google.com/group/symbolicweb
More information about the Tbnl-devel
mailing list