| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: Warning: Failed to save cookies in cookie file
From: David Colter <dolan2go_at_yahoo.com>
Date: Fri, 23 Jan 2009 08:23:14 -0800 (PST)
That sounds great. How does libcurl set the permissions? On my server, the cookie containing folder '/cookies/' has been set to 777, but each of the cookie files that libcurl created is set to 644. I had hoped that the folder permissions would carry. This was working, but after a change to:
Further info: After the cookie files have been deleted, the first time after curl_exec all is fine, i.e. no warning. After that, the cookie file is not been accessed or modified.
So, there are questions about 2 items here. What is the logic behind curlopt_cookiesession and if curl writes cookie files when none exist, why would I need to change permissions?
----- Original Message ----
On Thu, 22 Jan 2009, David Colter wrote:
> * WARNING: failed to save cookies in /cookies/sched_bot_cookies.txt
Strangely enough, it is caused by libcurl failing to save the cookies to the given file...
Most often this is due to permissions, but can of course be all sorts of reasons.
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2009-01-23 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info