Lines Matching refs:cookies
777 if(!data->share || !data->share->cookies) {
778 /* throw away all existing cookies if this isn't a shared cookie
780 Curl_cookie_clearall(data->cookies);
781 Curl_cookie_cleanup(data->cookies);
784 data->cookies = NULL;
790 * Set cookie file name to dump all cookies to when we're done.
801 newcookies = Curl_cookie_init(data, NULL, data->cookies,
805 data->cookies = newcookies;
812 * prevent the forthcoming read-cookies-from-file actions to accept
813 * cookies that are marked as being session cookies, as they belong to a
826 /* clear all cookies */
828 Curl_cookie_clearall(data->cookies);
832 /* clear session cookies */
834 Curl_cookie_clearsess(data->cookies);
838 /* flush cookies to file, takes care of the locking */
842 /* reload cookies from file */
847 if(!data->cookies)
849 data->cookies = Curl_cookie_init(data, NULL, NULL, TRUE);
855 if(!argptr || !data->cookies) {
864 Curl_cookie_add(data, data->cookies, TRUE, FALSE, argptr + 11, NULL,
869 Curl_cookie_add(data, data->cookies, FALSE, FALSE, argptr, NULL,
2271 if(data->share->cookies == data->cookies)
2272 data->cookies = NULL;
2309 if(data->share->cookies) {
2311 Curl_cookie_cleanup(data->cookies);
2312 /* enable cookies since we now use a share that uses cookies! */
2313 data->cookies = data->share->cookies;