i am using $_COOKIE to remember some info for my website . but when i try to destroy it . it is not destroying some reason.
setting cookie
see i try unset and than setcookie to past by time()-3600
so it should be destroyed by this two function :
1. unset($_COOKIE["cookiename"]) i try to unset as we do for varable
2.setcookie("cookiename","",time()-3600); i set cookie time to remain alive to past so it will destroy that way also
so point my problem pls . i am clueless now
Read more