| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Cookies..
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Sep 2002 09:36:55 +0200 (MET DST)
On Fri, 13 Sep 2002, Lorenzo Pastrana wrote:
> > 1. you create a cookiejar to store incoming cookies in.
libcurl will create it if it doesn't exist, and overwrite it if does exist.
> > if you then look in /tmp/cookieFileName you will see the cookies that you
The file is only written when you *cleanup() the handle. Until then, the
> Actually I'm reusing the handles for multiple urls so I won't call
The cookies are used when CURLOPT_COOKIEJAR is set, it just doesn't create
> Is there a way to force the cookie dump other than curl_easy_cleanup ?
No. I don't see the point in doing that.
> > 5. if you want to use these cookies to go futher around the site you use
COOKIEJAR is for saving cookies, COOKIEFILE for reading them.
> will it be erased before saving so I need a single file per url (witch is
Since you don't cleanup at all, you don't have to care about the file at all
> Also, are CURLOPT_COOKIEFILE and CURLOPT_COOKIEJAR compatibles on a same
They are.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-09-16 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info