I am using the below code on my log out page.
It does work and when I visit pages that require a login it doesn't allow me in which is good, but when I go to view my view my browser cookies I still see a "PHPSESSID" cookie. Why is this? Why doesn't this session cookie get deleted from my browser?
I have also output the session and it is empty.
So overall it is working. Just curious why the actual cookie does not get removed from my browser. My browser is chrome if that makes any difference.