title: What is the additional information in connect.sid cookie string apart from the session id?
body: <p>I am using Node JS with express-session.</p>
  
  <p>One question answered here advises to use req.cookies['connect.sid'] to get the session ID. Another answer suggests I use req.sessionID</p>
  
  <p>When I compare the two the <code>req.cookies['connect.sid']</code> has a string like the following:</p>
  
  <blockquote>
    <p>s:G1wOJoUAhhemRQqCs7dAGlMIk5ZGaJUg.z1/HrHTfndRqKpXza8qWuwHLS067xrWfVgqTDDGYoos</p>
  </blockquote>
  
  <p>req.sessionID has a string like the following:</p>
  
  <blockquote>
    <p>G1wOJoUAhhemRQqCs7dAGlMIk5ZGaJUg</p>
  </blockquote>
  
  <p>If the second string is the session ID (<code>G1wOJoUAhhemRQqCs7dAGlMIk5ZGaJUg</code>), what is the other information in the connect.sid cookie?</p>
  
  <p>Tried looking for the answer via google and other websites with no luck.</p>
  
  <p>Thanks,</p>
  
  <p>Darren</p>