cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Modify cURL to store cookies in variable (Daniel Stenberg)

From: Rodrigo <godz.g89_at_gmail.com>
Date: Sun, 19 May 2013 11:44:15 -0300

El 19/05/2013 7:00, curl-library-request_at_cool.haxx.se escribió:
>> > What I had in mind was to check how cookies where written to files with
>> > CURLOPT_COOKIEJAR but instead of writing the cookies to files, returning
>> > them so they could be stored in variables, I would like to do something like
>> > this in PHP:
> Like CURLINFO_COOKIELIST?
>
> http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html#CURLINFOCOOKIELIST
I have never used CURLINFO_COOKELIST but, for example, if example.com
sets cookie "visitor=new" and CURLINFO_COOKIELIST will return
"visitor=new", yes, you are right.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-19