0

我在我的 ExpressJS 应用程序中使用 connect-mongo。

app.use(express.session({
    secret: 'some string',
    store: new MongoStore({
        db: mongoose.connection.db
    })
}));

使应用程序安全的会话还有哪些其他选项?我不使用https.

4

0 回答 0