title: Cookie - Why cookie showing in browser after it deleted by using PHP code
body: <p>Why cookie values showing in browser even after it deleted by using PHP code, I am viewing cookie values by using FireFox "View Cookies addon". It will disappear only after delete or clear my browser cookies manually. I asking this question because of my work will work only after deleting cookies from browser manually, if i unset cookie in PHP code and run , it will not work, i am un setting cookie value by setting its expire date with past value.Example:</p>
  
  <pre><code>setcookie ("myCookie", "", time() - 3600, "/", ".example.com");
  </code></pre>
  
  <p>Code I am using for setting cookie:</p>
  
  <pre><code>setcookie ('Event', '', time() - 3600, '/', '.example.com');
  </code></pre>
  
  <p>Code I am using for unsetting cookie:</p>
  
  <pre><code>setcookie('Event', '-1-1301223453%7C9de8f7c08bf2be19c125f86ced33a0c2%7C1301050653%7C-1%7C1301223453', '', '/', '.example.com', 0);
  </code></pre>
  
  <p>But if i print cookie value after it unset it will be blank(nothing), but it will show in browser</p>
  
  <p>Please any one help!!</p>