title: Unable to access cookie value
body: <p>After clearing my browser history when I go to this URL: <a href="http://indianvisa-bangladesh.nic.in/visa/index.html" rel="nofollow noreferrer">http://indianvisa-bangladesh.nic.in/visa/index.html</a></p>
  
  <p>then I click on "Get Appointment" green link which takes us to <a href="http://indianvisa-bangladesh.nic.in/visa/Appointment_Login.jsp" rel="nofollow noreferrer">http://indianvisa-bangladesh.nic.in/visa/Appointment_Login.jsp</a></p>
  
  <p>Here it sets a <code>JSESSIONID</code> cookie. I can see this cookie in both Firefox/Chrome developer tools but can't access it using <code>document.cookie</code> in console. </p>
  
  <p>When I type <code>document.cookie;</code> it shows empty string.</p>
  
  <p>How do I print it?</p>
  
  <p><strong>Edit:</strong> Also this JSESSIONID cookie has <code>Path</code> value of "/visa"</p>
  
  <p><a href="https://i.stack.imgur.com/j0Ar7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j0Ar7.jpg" alt="enter image description here"></a></p>