A

Admin • 833K Points
Coach

Q. Which function is used to delete a cookie?

  • (A) setcookie() with past expiry
  • (B) unsetcookie()
  • (C) deletecookie()
  • (D) remove_cookie()
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

Setting a cookie with an expiration time in the past deletes it.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.