Zend_Http_CookieZend_Http_Cookie is a class describing an HTTP cookie and all it's parameters.
Zend_Http_Cookie is a class describing an HTTP cookie and all it's parameters. The class also enables validating whether the cookie should be sent to the server in a specified scenario according to the request URI, the expiry time and whether session cookies should be used or not. Generally speaking cookies should be contained in a Cookiejar object, or instantiated manually and added to an HTTP request.
See http://wp.netscape.com/newsref/std/cookie_spec.html for some specs.
Located in /library/Zend/Http/Cookie.php (line 42)
Zend_Http_Cookie
__construct
(string $name, string $value, string $domain, [int $expires = null], [string $path = null], [bool $secure = false])
static factory (line 256)
Generate a new Cookie object from a cookie string (for example the value of the Set-Cookie HTTP header)
Constructor __construct (line 98)
Cookie object constructor
asString (line 209)
Get the cookie as a string, suitable for sending as a "Cookie" header in an HTTP request
getDomain (line 140)
Get cookie domain
getExpiryTime (line 160)
Get the expiry time of the cookie, or null if no expiry time is set
getName (line 120)
Get Cookie name
getPath (line 150)
Get the cookie path
getValue (line 130)
Get cookie value
isExpired (line 183)
Check whether the cookie has expired
Always returns true if the cookie is a session cookie (has no expiry time)
isSecure (line 170)
Check whether the cookie should only be sent over secure connections
isSessionCookie (line 198)
Check whether the cookie is a session cookie (has no expiry time set)
match (line 222)
Checks whether the cookie should be sent on not in a specific scenario
Documentation generated on Tue, 11 Jul 2006 12:24:16 -0500 by phpDocumentor 1.3.0RC6