cURL / Mailing Lists / curl-library / Single Mail


Re: Reading cookies during the session.

From: Daniel Stenberg <>
Date: Mon, 23 May 2005 00:48:32 +0200 (CEST)

On Sun, 22 May 2005, Patryk Cisek wrote:

> I need to read the cookies during the HTTP session. CURLOPT_COOKIEJAR causes
> to save all cookies to a file (so I can read them) during cleanup, so if I
> want to browse the cookies have to restart the session. Is there more
> elegant way?

Nope. Unless you catch the headers and parse the cookies yourself.

We talk about a new cookie API[*] every now and then, but that has remained
nothing but talk.

[*] =

  Commercial curl and libcurl Technical Support:
Received on 2005-05-23