< Interface Phalcon\Http\ResponseInterface
Interface Phalcon\Http\Response\HeadersInterface >
abstract public Phalcon\Http\Response\CookiesInterface useEncryption (boolean $useEncryption)
Set if cookies in the bag must be automatically encrypted/decrypted
abstract public boolean isUsingEncryption ()
Returns if the bag is automatically encrypting/decrypting cookies
abstract public Phalcon\Http\Response\CookiesInterface set (string $name, [mixed $value], [int $expire], [string $path], [boolean $secure], [string $domain], [boolean $httpOnly])
Sets a cookie to be sent at the end of the request
abstract public Phalcon\Http\Cookie get (string $name)
Gets a cookie from the bag
abstract public boolean has (string $name)
Check if a cookie is defined in the bag or exists in the $_COOKIE superglobal
abstract public boolean delete (string $name)
Deletes a cookie by its name This method does not removes cookies from the $_COOKIE superglobal
abstract public boolean send ()
Sends the cookies to the client
abstract public Phalcon\Http\Response\CookiesInterface reset ()
Reset set cookies
Found a typo or an error? Want to improve this document? The documentation sources are available on Github
Need support or have questions? Check our Support Page
The Phalcon PHP Framework is released under the new BSD license.
Except where otherwise noted, content on this site is licensed under the
Creative Commons Attribution 3.0 License.
© Copyright 2013, Phalcon Team.