title: PHP can't remove cookie that was set by JavaScript
body: <p>Is it possible to remove cookie that was set on front via JS with PHP?</p>
  
  <p>I'm doing this:</p>
  
  <p><strong>*FRONT (JS):</strong></p>
  
  <pre><code>if ($.cookie('myCookie'))
  {
     console.log('Cookie.. :(  ');
  }
  else
  {
      console.log('Yaay! No cookie!');
      $.cookie('myCookie', '123');
  }
  </code></pre>
  
  <p><strong>BACK (PHP):</strong></p>
  
  <pre><code>if (isset($_REQUEST['removeCookie']))
  {
     setcookie("myCookie", "", time()-3600);
     unset($_COOKIE['myCookie']);
  }
  </code></pre>
  
  <p>Result:</p>
  
  <p><img src="https://i.stack.imgur.com/FgSKY.png" alt="enter image description here"></p>
  
  <p><strong>Seems like it's a mistery</strong></p>