title: Unset cookies php
body: <p>I have this code that setted when login check is fine:</p>
  
  <pre><code>if((isset($_POST["remember_me"]))&amp;&amp;($_POST["remember_me"]==1))
      {
      setcookie('email', $username, time()+3600);
      setcookie('pass', $pass, time()+3600);
      }
  </code></pre>
  
  <p>Now, when I click on logout link (logout.php)
  i did this:</p>
  
  <pre><code>&lt;?php session_start();
  setcookie("email", '', 1, "");
  setcookie("pass", '', 1, "");
  $_SESSION["login"] = "";
  header("location: aforum/enter_furom.php");
  ?&gt;
  </code></pre>
  
  <p>I didn't use destroy session because I don't want to destroy all sessions....
  now destroying a session is working fine... but when I try to unset cookies, the browsers (all browsers: explorer, chrome, firefox, mozilla) give me an error saying that <em>the new cookies cant be setted</em>...any help to unset the above cookies ?</p>