title: cookie getting lost between page navigation
body: <p>I have a cookie set like this: </p>
  
  <p><code>$_COOKIE['admin'] = 'foo';</code></p>
  
  <p>Now the first time, I can see this cookie getting serialized using <code>var_dump($_COOKIE['admin'])</code> So, I removed that cookie and just placed this instead. </p>
  
  <pre><code>if(isset($_COOKIE['admin']){
    echo 'hello admin';
  }else{
    echo 'hello visitor';
  }
  </code></pre>
  
  <p>Normally this should work for all pages, but it only works once. Meaning, if I browse index page, it works, if I navigate to other page (same website) then comeback to the index page, the cookie gets lost. And there is nothing to destroy/unset any cookie/session in any page. </p>
  
  <p>What could be the problem here</p>