CURLOPT_COOKIESESSION (3) Linux Manual Page
CURLOPT_COOKIESESSION – start a new cookie session Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COOKIESESSION, long init); DescriptionPass a long set to 1 to mark this as a new cookie "session". It will force libcurl to ignore all cookies it is about to load that are "session cookies" from the previous session. By default, libcurl always stores…
