πŸ“Š PHP
Q. Which function is used to delete a cookie?
  • (A) setcookie() with past expiry
  • (B) unsetcookie()
  • (C) deletecookie()
  • (D) remove_cookie()
πŸ’¬ Discuss
βœ… Correct Answer: (A) setcookie() with past expiry

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

Explanation by: Rati Dubey
Setting a cookie with an expiration time in the past deletes it.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
37
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
97%
Success Rate