Zend_Http_CookieJar::addCookie
Add a cookie to the jar. Cookie should be passed either as a Zend_Http_Cookie object or as a string - in which case an object is created from the string.
Signature
public function addCookie(Zend_Http_Cookie|string
$cookie,
[Zend_Uri_Http|string
$ref_uri = NULL] )
Parameters
$cookie
— object
$ref_uri
— object- Optional reference URI (for domain, path, secure)