Add custom cookies.
The request option encodecookies controls whether the cookie values should be urlencode()d.
encodecookies
Affects any request method.
an associative array containing any cookie name/value pairs to add
Returns TRUE on success or FALSE on failure.
TRUE
FALSE
<?php $r = new HttpRequest;$r->addCookies( array( "cookie_name" => "cookie value", ) );?>