Why this setcookie doesn't work?
<pre><code>setcookie("cookie1", "", 0, "/",".domain.com");
setcookie("cookie2", "", 0, "/",".domain.com");
header('Location: /index.php');
</code></pre>

<p>It doesn't delete cookie1 and cookie2. Why is that?</p>
