Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // adapter: 'redis',
- // host: 'localhost',
- // port: 6379,
- // ttl: <redis session TTL in seconds>,
- // db: 0,
- // pass: <redis auth password>,
- // prefix: 'sess:',
- npm install connect-mongo --save
- adapter: 'connect-mongo',
- url: 'mongodb://user:pass@host:port/database',
- collection: 'sessions',
- auto_reconnect: false,
- ssl: false,
- stringify: true
Add Comment
Please, Sign In to add comment