arnab321 Posted April 19, 2010 Share Posted April 19, 2010 I am setting cookies using: setcookie($val,$cookie, time()+60*60*24*365); I'm using this to delete cookies: foreach ($_COOKIE as $k => $v) { //echo $k." "; setcookie($k,'', time()-3600); } I see that certain cookies, ASP.NET_SessionId, __utma, __utmz, __utmb, __utmc still persist while other cookies have been deleted by the code. (for your information, this is a segment of a curl script to parse the cookies sent by the external site and set them to the browser) Link to comment https://forums.phpfreaks.com/topic/198979-cannot-delete-certain-cookies-of-the-same-domain/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.