Delete a cookie Convenience method to delete $_COOKIE['cookiename']
Parameters | |||
---|---|---|---|
string
|
$name |
The name of the cookie to delete |
# |
string
|
$path = '/' |
The path on the server in which the cookie will be available on. This would be the same value used for cookie_set(). |
# |
Returns | |
---|---|
bool|array
|
TRUE for the successful delete; FALSE for no delete. |