title: PassportJS - How to make separate passport.session
body: <p>My question is related to <a href="https://stackoverflow.com/questions/25896753/passportjs-using-multiple-passports-within-express-application">PassportJS - Using multiple passports within Express application</a> topic.
  So as long as I already have two separate passport instances, I realized that they both share the same cookie, created here:</p>
  
  <pre><code>application.use(session({ secret: 'my secret cookie', key: 'usid' }));
  </code></pre>
  
  <p>I can add one more cookie with different name using this:</p>
  
  <pre><code>app.use(connect.session({ secret: 'keyboard cat', key: 'rsid' }))
  </code></pre>
  
  <p>However, it is not clear to me how to instruct each passport to use its own cookie.</p>