PEAR Manual
Prev |  | Next

# HTTP_Client_CookieManager::passCookies()

HTTP_Client_CookieManager::passCookies() -- Adds cookies to the request

## Synopsis

    require_once 'HTTP/Client/CookieManager.php';

``void HTTP_Client_CookieManager::passCookies` (object An &$request)`

## Description

The method sends only the cookies that should be sent with the request and it adds them in right order.

## Parameter

object HTTP_Request `&$request`

  HTTP_Request object

## Throws

throws no exceptions thrown

## See

see updateCookies(), addCookie()

## Note

This function can not be called statically.

Prev | Home | Next
HTTP_Client_CookieManager::addCookie() | Up | HTTP_Client_CookieManager::reset()