It seems that cookie-in returns a string, not a cookie object. Is this a recent change or am I misunderstanding the docs?
-Peter
Indeed, incoming cookies are only returned as strings and this has always been the case. I understand that in theory the client could send path and domain attributes with the cookie, but I think in practice this never happens. At least it seems nobody using Hunchentoot was bothered with this so far.
I agree that the documentation is a bit misleading. Although the chapter about cookies starts with "OUTGOING cookies [...] are CLOS objects" which one could construe as meaning that incoming cookies aren't... :)
Edi.
On Mon, Aug 30, 2010 at 11:00 PM, Peter Seibel peter@gigamonkeys.com wrote:
It seems that cookie-in returns a string, not a cookie object. Is this a recent change or am I misunderstanding the docs?
-Peter
-- Peter Seibel http://www.codequarterly.com/
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
Yeah, I think the cookie-in being described as returning a "cookie" is what threw me off.
-Peter
On Mon, Aug 30, 2010 at 2:54 PM, Edi Weitz edi@agharta.de wrote:
Indeed, incoming cookies are only returned as strings and this has always been the case. I understand that in theory the client could send path and domain attributes with the cookie, but I think in practice this never happens. At least it seems nobody using Hunchentoot was bothered with this so far.
I agree that the documentation is a bit misleading. Although the chapter about cookies starts with "OUTGOING cookies [...] are CLOS objects" which one could construe as meaning that incoming cookies aren't... :)
Edi.
On Mon, Aug 30, 2010 at 11:00 PM, Peter Seibel peter@gigamonkeys.com wrote:
It seems that cookie-in returns a string, not a cookie object. Is this a recent change or am I misunderstanding the docs?
-Peter
-- Peter Seibel http://www.codequarterly.com/
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel