H,,
On Thu, 8 Feb 2007 11:19:18 +0530, "Saurabh Nanda" <saurabhnanda(a)gmail.com> wrote:
[Please use the mailing list. See Cc.]
> One small question, why the difference between behaviours of
> cookie-in and cookie-out functions? The former returns the value
> whereas the latter returns a cookie object.
The server sends a full "Set-Cookie" header with (potentially)
"expires", "path", "domain", and "secure" attributes, while the client
only sends a "Cookie" header with names and values.
http://wp.netscape.com/newsref/std/cookie_spec.html
I don't think it would make sense to wrap these incoming cookies into
full-blown cookie objects.
> Further, to get the cookie value from the cookie object one has to
> use (slot-value cookie-object 'hunchentoot::value) as the "value"
> symbol is not external.
There's an exported accessor COOKIE-VALUE, see the documentation:
http://weitz.de/hunchentoot/#cookie-value
Cheers,
Edi.
I've installed the hunchentoot server, put in my Lisp lines:
(asdf:oos 'asdf:load-op :hunchentoot-test)
(hunchentoot:start-server :port 3001)
Now I am trying to figure out how can I display the test page (if I
don't have a direct connection to my local server and the port 3001).
If I try to use url like http://www.mydomain.com/lisp/hunchentoot/
test
I see the default page of Hunchentoot (with message "You're most
likely seeing it because the server administrator hasn't set up a
custom default page yet").
Any ideas how can I reach the test page?
Thank you,
Andrew