title: How to delete cookie with HttpOnly using PHP or JS
body: <p>I have a cookie with these parameters:</p>
  
  <pre><code>Name:   workgroup_session_id
  Content:    ""
  Domain: agrobman1.tsi.lan
  Path:   /
  Send for:   Any kind of connection
  Accessible to script:   No (HttpOnly)
  Created:    Wednesday, November 4, 2015 at 9:31:58 AM
  Expires:    When the browsing session ends
  </code></pre>
  
  <p>I have tried to delete the cookie using PHP using this code:</p>
  
  <pre><code>setcookie("workgroup_session_id", "\"\"", time() - 3600, "/", "agrobman1.tsi.lan", false, true);
  </code></pre>
  
  <p>But I am still unable to delete it. Does anyone know how to delete a cookie of this type using PHP or JS?</p>