Delete a cookie using php or jquery

July 10, 2014 | , ,

Using PHP To remove a cookie in php we can use setcookie function unset($_COOKIE[‘amazon’]); setcookie(‘amazon’, null, -1, ‘/’);where amazon is the name of the cookie. Second parameter must be set to blank or null Third parameter is expire date which should be set to a old or negative value. Fourth […]

Read More