cookies keep coming back even if i set it to delete
<p>Ok i use this code to set cookies</p>

<pre><code>setcookie("search", "active", time()+3600);
</code></pre>

<p>and i use this to delete cookies</p>

<pre><code>setcookie("search", "active", time()-3600);
</code></pre>

<p>and i use this to check and retrieve cookies</p>

<pre><code>&lt;?
  if (isset($_COOKIE["search"]))
  {
      if ($_COOKIE["search"] === "active")
      {
          echo "cookies active"."&lt;br/&gt;";
          echo $_COOKIE["search"];
      }
      else
      {
          echo "cookies is not active";
      }
  }
  else
  {
      echo "no cookies";
  }
?&gt;
</code></pre>

<p>but the set cookies is keep coming back again and again even if i deleted it using the method the i specify above when i refresh the page.</p>
