title: How to get session cookie
body: <p>I am trying to get this cookie from javascript code but it doesn't show in the console.</p>
  
  <pre><code>document.cookie
  </code></pre>
  
  <p>I checked in chrome settings cookie and it shows all of its data and the cookie expiration says <strong>Expires:  When the browsing session ends</strong> </p>
  
  <p>and also it says </p>
  
  <blockquote>
    <p>Send for: Secure connections only</p>
  </blockquote>
  
  <p>Is there any way to get that cookie please let me know</p>
  
  <p><a href="https://i.stack.imgur.com/UwRlw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UwRlw.png" alt="Please find the below image"></a></p>