cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Which cookies does curl_easy_getinfo() with param CURLINFO_COOKIELIST return ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 10 Mar 2008 23:11:11 +0100 (CET)

On Mon, 10 Mar 2008, Stefan Krause wrote:

> I'm using libCurl via the multi interface and have one multi handle with two
> easy handles contained in it. Which set of cookies is returned when calling
> curl_easy_getinfo() with param CURLINFO_COOKIELIST ? Only the cookies
> specific to the particular easy handle oder ALL cookies curl knows about?

Cookies are always easy-handle specific, unless you use the share interface to
make more than one easy handle use the same pool of cookies.

> I suppose that cookies are handled separately for each easy handle and that
> each easy handle only stores the cookies which are received by HTTP
> operations done on that handle. Is that correct?

Yes!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-10

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET