title: Cookie won't unset
body: <p>OK, I'm stumped, and have been staring at this for hours.</p>
  
  <p>I'm setting a cookie at /access/login.php with the following code:</p>
  
  <pre><code>setcookie('username', $username, time() + 604800, '/');
  </code></pre>
  
  <p>When I try to logout, which is located at /access/logout.php (and rewritten to /access/logout), the cookie won't seem to unset. I've tried the following:</p>
  
  <pre><code>setcookie('username', false, time()-3600, '/');
  
  setcookie('username', '', time()-3600, '/');
  
  setcookie('username', '', 1, '/');
  </code></pre>
  
  <p>I've also tried to directly hit /access/logout.php, but it's not working.</p>
  
  <p>Nothing shows up in the php logs.</p>
  
  <p>Any suggestions? I'm not sure if I'm missing something, or what's going on, but it's been hours of staring at this code and trying to debug.</p>