-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
I'd say I have a quite classical setup and everything works. On one endpoints I store a few Kilobytes of data onto the session, which works fine, besides the cookie gets always sent fresh and new by the backend. I was looking for something like in express where this can be tuned:
app.use(session({
secret: 'your-secret-key',
resave: false,
saveUninitialized: false,
cookie: { secure: true, httpOnly: true }
}));Am I missing something or is this not implemented yet? The only option I see for me is just use the sessionMiddleware on selected endpoints. But I really want to avoid this.
Thank you so much!
George
Metadata
Metadata
Assignees
Labels
No labels