Is it possible to destroy a cookie?

  • Yes
  • No
  • Depends on the browser support
  • Depends on the server configuration
Yes, it is possible to destroy a cookie by setting its expiration time to a past date or using the setcookie() function with an empty value. This instructs the browser to remove the cookie from its storage. Learn more: http://php.net/manual/en/function.setcookie.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *