PHP 5.4.36 Released

HttpRequest::resetCookies

(PECL pecl_http >= 1.0.0)

HttpRequest::resetCookiesReset cookies

Beschreibung

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

Reset all automatically received/sent cookies.

Hinweis:

Note that custom set cookies are not affected.

Parameter-Liste

session_only

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

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top