Adding more blurb about activating the cookies on COOKIEFILE and COOKIEJAR
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Aug 2002 08:23:40 +0000 (08:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Aug 2002 08:23:40 +0000 (08:23 +0000)
docs/libcurl/curl_easy_setopt.3

index e3908c6..12087ea 100644 (file)
@@ -462,6 +462,10 @@ Pass a pointer to a zero terminated string as parameter. It should contain the
 name of your file holding cookie data. The cookie data may be in Netscape /
 Mozilla cookie data format or just regular HTTP-style headers dumped to a
 file.
+
+Given an empty or non-existing file, this option will only enable cookies for
+this curl handle, making it understand and parse received cookies and then use
+matching cookies in future request.
 .TP
 .B CURLOPT_SSLVERSION
 Pass a long as parameter. Set what version of SSL to attempt to use, 2 or
@@ -634,7 +638,11 @@ the provided hostname. (Added in 7.8.1)
 Pass a file name as char *, zero terminated. This will make libcurl dump all
 internally known cookies to the specified file when \fIcurl_easy_cleanup(3)\fP
 is called. If no cookies are known, no file will be created. Specify "-" to
-instead have the cookies written to stdout. (Added in 7.9)
+instead have the cookies written to stdout. Using this option also enables
+cookies for this session, so if you for example follow a location it will make
+matching cookies get sent accordingly.
+
+(Added in 7.9)
 .TP
 .B CURLOPT_SSL_CIPHER_LIST
 Pass a char *, pointing to a zero terminated string holding the list of