title: How to read the value of the cookie in expressjs
body: <p>I'm using cookie-parser module.
  And I set a cookie like this:</p>
  
  <pre><code>res.cookie('user', 'someValue', {maxAge: 10800});
  </code></pre>
  
  <p>the question here is how I print the value of the cookie?
  I tried :</p>
  
  <pre><code>console.log('cookie: ' + req.cookies);
  console.log('cookie: ' + req.cookies.user);
  console.log('cookie: ' + res.cookie('user'));
  </code></pre>
  
  <p>but all I received is just [Object] or undefined</p>