title: Tomcat 7 - JSESSIONID cookie is not accessible from JavaScript code
body: <p>Does anyone know what changed in the configuration between Tomcat 6 and Tomcat 7 that would cause the <code>JSESSIONID</code> cookie to not be accessible via JavaScript?</p>
  
  <p>Using Tomcat 6:</p>
  
  <pre><code>alert(document.cookie); // JSESSIONID=8675309ABCDEF...
  </code></pre>
  
  <p>Using Tomcat 7:</p>
  
  <pre><code>alert(document.cookie); // nothing
  </code></pre>