has() public method
Returns whether there is a cookie with the specified name.
Note that if a cookie is marked for deletion from browser, this method will return false.
See also remove().
public boolean has ( $name ) | ||
---|---|---|
$name | string |
The cookie name |
return | boolean |
Whether the named cookie exists |
Please login to continue.