Can you confirm if I should be doing this while the handler is processing a request?

Much appreciated,

Yarek

On Sun, Aug 24, 2008 at 11:23 PM, Lars Rune Nøstdal <larsnostdal@gmail.com> wrote:
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


_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel