I am developing a site in php and this is the first time in years I have this kind of problem, and can't figure it out...
The problem is that I create some cookies, erase them and when I refresh the page the cookies are still there.
Array ( [fbs_149865948383849] => \"access_token=149865948383849|2.PfG_sklQhUD7dSKqe_lzIQ__.3600.1290704400-698363010|c0usGkjKPEsASYTZqjF_Y-Rwxj8&base_domain=pregunpedia.com&expires=1290704400&secret=nQ3fNvMekK6D11hbT8XH6Q__&session_key=2.PfG_sklQhUD7dSKqe_lzIQ__.3600.1290704400-698363010&sig=a440d03a60808e5ee02e14a941a1eea6&uid=698363010\" [conecta_fb] => iniciado_fb [PHPSESSID] => 015fa2b540ec4185cebd6cab2f7da027 )
I have a page called logout.php, I execute it and at the bottom of this page I have
and returns no value, afterwards I leave that page (logout.php) and return to index.php that only has print_r($_COOKIE); exit(); and returns the cookies again!!
I use this function
$cookies = explode(';', $_SERVER['HTTP_COOKIE']);
foreach($cookies as $cookie)
$parts = explode('=', $cookie);
$name = trim($parts);
Has anyone has any idea of what I can be happening?
Thank's in Advanced.