title: Is !document.cookie reliable?
body: <p>I'm wondering if using the following Javascript code is reliable:</p>
  
  <pre><code>if (!document.cookie) {
      alert('Cookies are disabled.');
  }
  </code></pre>
  
  <p>I've tested this in IE, Firefox and Chrome and it seems that when you disabled cookies, the document.cookie object becomes unavailable. Does anyone have any experience with this method working/not working?</p>
  
  <p>Many Thanks<br>
  Stephen</p>
  
  <p><strong>Additional</strong></p>
  
  <p>I'm well aware that this method requires JavaScript to be enabled on the client. I'm also aware of other server-side/JavaScript solutions. Please can the discussion remain on topic.</p>