php curl reset or modify cookies -


php-curl: how hell can modify or delete cookies after calling curl_exec in existing curl object?

1) "cookiejar" file not saved on disk until curl_close()!

2) curlopt_cookie - can't help, adding cookie same name, not removing/editing older one.

3) curlopt_httpheader - setting "cookie: " - can't too!

i need edit or totally remove cookies without closing - re-creating curl object =(

i think had similar problem. solution cloning curl object curl_copy_handle() , closing 1 of them (either original or clone). i'm not sure if useful problem.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -