Set a cookie
public static setCookie ( string $strName, mixed $varValue, integer $intExpires, string $strPath = null, string $strDomain = null, boolean $blnSecure = false, boolean $blnHttpOnly = false ) | ||
$strName | string | The cookie name |
$varValue | mixed | The cookie value |
$intExpires | integer | The expiration date |
$strPath | string | An optional path |
$strDomain | string | An optional domain name |
$blnSecure | boolean | If true, the secure flag will be set |
$blnHttpOnly | boolean | If true, the http-only flag will be set |