Ive had a similar problem but was able to delete the session cookie with:
setcookie ("PHPSESSID", "", time() - 3600, "/");
When I had the domain set the cookie was not deleted.
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.