[hunchentoot-devel] Reading and writing additional cookies.

Yarek Kowalik yarek.kowalik at gmail.com
Tue Aug 26 00:34:39 UTC 2008


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 at 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 at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20080825/a74e8ae2/attachment.html>


More information about the Tbnl-devel mailing list