I by mistake generate one cookie. which is now affecting my website. it generates in all the path of my website. because I set it up in a header file.
Now I want to delete that cookie once for all the paths.
setcookie('PHPSESSID','xyz',time()+800000);
I can able to delete only one cookie which set on path /
but I can't delete all other cookies which set on different paths from logout.php
file