title: Client cookie not stored properly in redis store using express in node.js
body: <p>I have developing one app using express and node.js with redis as session store. First I will show you my code.  </p>
  
  <pre><code>var express = require('express'),
      redis = require('redis'),
  
      var app = express();
  
      app.use(express.urlencoded());
      app.use(express.json());
      app.use(express.cookieParser());
      app.use(express.session({ secret: secret, key: 'express.sid', store: new RedisStore({ host: '127.0.0.1', port: 6379 }), cookie: { maxAge: 3600000 } })); 
      app.use(express.methodOverride());
  </code></pre>
  
  <p>This is working fine for me, But when I see my request header in browser, It is showing cookie value as follows.</p>
  
  <pre><code>Cookie:express.sid=s%3AmF_egbthwH9xtg6E3ts9HHLn.l9zuDq1IcApdTUwIP96vpRSTiDLA99iQS2T4HVpV0tE
  </code></pre>
  
  <p>But when I check in redis using redis-cli is is just showing me half of the key under "sess:" key like as follows.</p>
  
  <pre><code>sess:mF_egbthwH9xtg6E3ts9HHLn
  </code></pre>
  
  <p>Is it any problem/mistake from my end?</p>