One way to remove a cookie

This simply sets the expiration date to one second ago. As soon as that happens, the cookie should be removed by browsers.

<?php
setcookie("cookie_name","cookie value",time()-1);
?>

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.