cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Sharing Cookies Between Handles

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 27 Sep 2011 19:51:53 +0200 (CEST)

On Tue, 27 Sep 2011, east2006 east2006 wrote:

> I'm using several curl handles and I want them to share the cookies they
> receive. I'm creating each handle using curl_easy_init(). The handles
> already start with the same saved cookies by using CURLOPT_COOKIEFILE but I
> also want them to share the cookies they receive in real time.
>
> How can I do that?

With the share API:

http://curl.haxx.se/libcurl/c/libcurl-share.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-27