curl-users
Cookies still not working as of 7.9.1-pre2
Date: Fri, 5 Oct 2001 10:03:34 -0400
Hi there. I thought I'd try the cookie jar features to see if they're
working yet. So I downloaded the 7.9.1-pre2 tarball and compiled it
under Cygwin 1.3.3. I double-checked that I've got the 9/26/01 patched
version of cookie.c in there, however I'm still not seeing my cookie jar
file created. I tried the following (both under cygwin's BASH and under
win-NT's cmd.exe):
# curl.exe -i -c cky.jar
http://mweb-test.fdy.moc.com/__test/cookietest.asp
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Fri, 05 Oct 2001 14:00:10 GMT
Content-Type: text/html
Set-Cookie: ckyDomain=fdy%2Emoc%2Ecom;
domain=mweb-test.fdy.moc.com; path=/
Set-Cookie: ckyPersistent=permanent;
expires=Tue, 01-Jan-2002 05:00:00 GMT; path=/
Set-Cookie: ckySession=temporary; path=/
Cache-control: private
Transfer-Encoding: chunked
After running the above command, I still did not see a file named
"cky.jar" appear, as I would have expected. Two of the set-cookie
lines above are wrapped for easier mailing - they didn't come
back from the web server like that... And in addition to a
expires= cookie, I added a domain= cookie, just in case that
helped.
Any idea what's still wrong? If need be, I'd be happy to run this
through a debugger of some kind, if some kind soul could explain
briefly how one would do such a thing.
Thanks,
--Kevin
Received on 2001-10-05