title: Why getting a cookie isn't working?
body: <p>This is driving me crazy! I have a cookie that was set from a response header that contains the sessionid. The cookie is visable in the dev tools in Chrome and in Firefox, but <code>document.cookie</code> returns an empty string.</p>
  
  <p>The cookie looks like this:</p>
  
  <pre><code>Name: sessionid
  Value: 123456789
  Domain: app
  Path: /
  Expires: Session
  Secure: No
  </code></pre>
  
  <p>The url I'm hitting is <code>http://app/</code></p>
  
  <p>Any ideas on why this I can't access this cookie through the DOM api?</p>