Cookie problem in IE
<p>Okay, my site is written in php. I'm having problems with IE sometimes not deleting the cookies. Here's my log out code.</p>

<pre><code>    setcookie("user","",time()-50000000);

    setcookie("pass","",time()-50000000);

    header("Location: index.php");
</code></pre>

<p>This works great in Firefox, Chrome, etc. But IE sometimes won't delete the cookies?</p>

<p>My login when setting cookies looks like this:</p>

<pre><code>    setcookie("user",$result['Handle'],time()+50000000);

    setcookie("pass",$pass,time()+50000000);


    header("Location: news.php");
</code></pre>

<p>I just don't understand why it will clear it most of the time, but gets stuck other times.</p>
