cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Behaviour of Multiple Cookiefiles

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Jan 2008 13:45:20 +0100 (CET)

On Thu, 24 Jan 2008, aniket ray wrote:

> I understand it, if we have one cookie file; the cookies written later in
> the file were issued afterwards (chronologically). But if we have multiple
> files, how does that work?

If you specify multiple files, they will be loaded in the same order you
specify them.

>> It's not really "maintained", it's written when you close the easy handle.

> What happens to the cookies already written in the file. (Based on
> observation, I am guessing the old cookie jar gets overwritten, each time
> the handle is closed. Is that right?)

Correct!

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