Jump to content

cannot delete certain cookies of the same domain


arnab321

Recommended Posts

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)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.