i'm trying implement redis pub/sub, , want use redis in order store sessions. how can create 2 clients 1 store ? found how make 1 client store:
app.use(express.session({ secret: 'mysecret', store: new redisstore({ client:db, secret:config.db.auth }) }));
but how can make more 1 ?
Comments
Post a Comment