(PECL pecl_http >= 1.0.0)
HttpRequest::resetCookies — Reset cookies
$session_only
= false
] )Reset all automatically received/sent cookies.
Note:
Note that custom set cookies are not affected.
session_only
whether only session cookies should be reset (needs libcurl >= v7.15.4, else libcurl >= v7.14.1)
Returns TRUE
on success or FALSE
on failure.