cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Help: libcurl doesn't fetch cookie when r ediect HTTP (httpcode is 302) client.

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Tue, 8 May 2007 01:40:57 -0500

> I think libcurl should try to fetch cookie again after the location has been changed.

Try setting:
  curl_easy_setopt(handle, CURLOPT_COOKIEFILE, "my-cookies.txt");
Or maybe:
  curl_easy_setopt(handle, CURLOPT_COOKIEJAR, "my-cookies.txt");

 - Jeff
Received on 2007-05-08