title: Express nodejs session cookies: req.cookies['connect.sid'] is not generated and req.sessionID is different after each refresh
body: <p>I use express 4.13.3 and express-session 1.11.3. Here my configuration session:</p>
  
  <pre><code>app.use( session({/*store: new redis_store,*/name: 'connect.sid', secret: 'azerty is qwerty', resave: false, saveUninitialized: false, cookie:{httpOnly: false, secure: false, maxAge: null}}) );
  </code></pre>
  
  <p>Here I print <code>req.cookies['connect.sid']</code> and <code>req.sessionID</code> :</p>
  
  <pre><code>app.get("/", function (req, res) {
    console.log(req.sessionID);
    console.log(req.cookies['connect.sid']);
  
    res.sendStatus(200);
  });
  </code></pre>
  
  <p>On each refresh <code>req.sessionID</code> is <strong>different</strong> and <code>req.cookies['connect.sid']</code> is <strong>undefined</strong>. Some months ago, as <code>req.sessionID</code> was changing at refresh, I decided to use <code>req.cookies['connect.sid']</code> and it was working like a charm. Today I checked my code and I notice that <code>connect.sid</code> doesn't exist anymore in the cookie.</p>
  
  <p>So what is the problem? How I can use the session id of the cookie?</p>