I would like to understand the four options of cURL for cookies:
CURLOPT_COOKIESESSION CURLOPT_COOKIEFILE CURLOPT_COOKIEJAR CURLOPT_COOKIE
I understand that
COOKIEJAR is meant for writing cookies, and
COOKIEFILE is meant for reading.
So what is
COOKIESESSION for ?
CURLOPT_COOKIE is custom, but can I use it to maintain a session with the server ?