update : 2015.11.03
php.shukuma.com

검색:
 
 
Reset cookies

HttpRequest::resetCookies

(PECL pecl_http >= 1.0.0)

HttpRequest::resetCookiesReset cookies

설명

public bool HttpRequest::resetCookies ([ bool $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)

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.