I have created a cookie in basic-html.php. The code I use is:
I have another PHP program called delwecookies.php where I attempt to delete this cookie. The code I use here is:Code:setcookie("webExamsTaken", implode(",", $examsTaken), time() + 60*60*24*30);
The attempt to delete the cookie in delwecookies.php is failing. Can anyone please tell me why? Thank you.Code:setcookie("webExamsTaken", "", time() - 3600); echo "Cookie deleted.";


Reply With Quote
Bookmarks