curl-library
Re: Question about cookies
From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Fri, 11 Sep 2009 13:37:02 -0500
Date: Fri, 11 Sep 2009 13:37:02 -0500
On Fri, Sep 11, 2009 at 1:18 PM, Jonathan Wallace <
jwallace_at_livetechnology.com> wrote:
> Is it possible to get a list of cookies from the return header so that I
> can tokenize it and record them in my application. Currently I'm using a
> CURLOPT_DEBUGFUNCTION and CURLOPT_VERBOSE to retrieve the header and
> tokenize and I'm wondering if there is a more elegant and faster way to do
> this?
>
How about CURLINFO_COOKIELIST?? That gets you a linked list of all cookies
curl knows about.
Ralph Mitchell
Received on 2009-09-11