HTTP_Client_CookieManager::updateCookies()

HTTP_Client_CookieManager::updateCookies() -- Updates cookie list from HTTP server response

Synopsis

require_once 'HTTP/Client/CookieManager.php';

void HTTP_Client_CookieManager::updateCookies (object HTTP_Request &$request)

Beschreibung

This method gets the cookies from HTTP response received by HTTP_Request instance and adds them to the object's internal list.

Parameter

object HTTP_Request &$request

HTTP_Request object containing the HTTP response, i.e. its sendRequest() should already be called.

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see passCookies(), addCookie()

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.