title: Codeigniter can't delete cookies
body: <p>I have a login script, and now I am trying to build a logout for it. I am using both cookies and sessions within CodeIgniter, and despite doing the below, the cookies still manage to stick and I can't figure out why. Allegedly this is the way to kill cookies via CI but I logout, close the page, go to another page and <code>print_r($_COOKIE)</code> and they will still be there.</p>
  
  <pre><code>$this-&gt;session-&gt;sess_destroy();
  delete_cookie('LongRemember', '', '0');
  delete_cookie('AutoRemember', '', '0'); 
  redirect('m/logout', 'refresh');
  echo 'logged out';
  </code></pre>