curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Edit cookies easily?

From: Scott Ellentuch via curl-library <>
Date: Tue, 21 May 2019 16:36:20 -0400


Using PHP and curl_init/curl_setopt/curl_exec/curl_close.

My need is that I contact, perform a login transaction there,
and then use the cookies returned for contacting to
continue the transaction. Cookies are scoped to the FQDN.

I could do the first bit, close up shop, readin/edit/write the cookie file,
then do my second bit, but that seems SO crude. ;)

Is there a way to cleanly either tell the program to ignore cookie domains
completely or be able to gracefully edit the cookie domain without all the
extra overhead?

Tnx, Tuc

Received on 2019-05-21