Property | Type | Description | |
---|---|---|---|
$_cookies | array | ||
$_deleted_cookies | array |
Method | Description | |
---|---|---|
delete ( string $name, $path = '/', $domain = '', $secure = false, $http_only = false ) : boolean | deletes a cookie | |
get ( string $name ) : mixed | gets a cookie | |
getAndDelete ( string $name, $path = '/', $domain = '', $secure = false, $http_only = false ) : mixed | gets a cookie and eats it | |
set ( string $name, string $value, mixed $ttl = 86400, string $path = '/', string $domain = '', boolean $secure = false, boolean $http_only = false ) : boolean | sets a cookie |
public getAndDelete ( string $name, $path = '/', $domain = '', $secure = false, $http_only = false ) : mixed | ||
$name | string | |
return | mixed |