http
PHP Manual

HttpRequest::resetCookies

(PECL pecl_http:1.0.0-1.5.5)

HttpRequest::resetCookies — Reset cookies

Descripción

public bool HttpRequest::resetCookies ([ bool $session_only = FALSE ] )

Reset all automatically received/sent cookies.

Note: Note that customly set cookies are not affected.

Lista de parámetros

session_only

whether only session cookies should be reset (needs libcurl >= v7.15.4, else libcurl >= v7.14.1)

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.


http
PHP Manual