title: Chrome will not delete cookie?
body: <p>I have a script that logs out the user (logout.php) and it works perfectly fine in FF and IE, but in Chrome the cookie is still available even after the browser has been closed.</p>
  
  <p>I have tested with this bit of code:</p>
  
  <p><strong>logout.php</strong></p>
  
  <pre><code>session_start();
  $_SESSION['un'] = '';
  $_SESSION['pw'] = '';
  unset($_SESSION['un']);
  unset($_SESSION['pw']);
  setcookie("spf", "", time()-3600);
  session_destroy();
  echo "Cookie: ".$_COOKIE['spf']."&lt;br /&gt;";
  echo "Session: ".$_SESSION['un'];
  </code></pre>
  
  <p>In Chrome it will still echo out with content for spf despite everything. What am I doing wrong?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>In FF my testpage echoes this:</p>
  
  <pre><code>Cookie: 
  
  Session:
  </code></pre>
  
  <p>(e.g. blank both). </p>
  
  <p>In Chrome it says this:</p>
  
  <pre><code>Cookie: {\"un\":\"test3333\",\"pw\":\"593c114983263124656dd6bb922b7bd8\"}
  
  Session:
  </code></pre>
  
  <p>(e.g. the cookie has content and the session is blank).</p>