CookieHandler::__construct()


Definition

Instantiates a new instance of CookieHandler class.

void __construct ( $Name, [$Path = '', [$Domain = '']] )

Parameters

Exceptions

Example

try
{
   $Cookie = new CookieHandler($_CONFIG['cookiename']);
}
catch (CookieHandlerException $e)
{
   die ("Error: " . $e->getMessage());
}