cURL / Mailing Lists / curl-users / Single Mail

curl-users

Persistent connections and cookies

From: Clay Loveless <lists_at_crawlspace.com>
Date: Thu, 28 Feb 2002 10:17:43 -0800

Question about persistent connections & cookies with curl ...

If I'm using a cookiejar to store cookies, and need to make the following
requests ...

1. www.foo.com/a.html
2. www.foo.com/b.html
3. www.foo.com/c.html

If I pass a cookiefile in with all of these requests on one command, will
cookies set by "a.html" be sent to the request for "b.html" and "c.html"?

I'm assuming they would NOT be, since it's the same connection. But -- since
it's a different request to the same host, I'm keeping my fingers crossed.

Thanks,
Clay

___________________________
Clay Loveless
Webmaster, Crawlspace
http://www.crawlspace.com/
Received on 2002-02-28