expressjs / expressjs/cookie-session

Suggestion: a custom name instead of req.session

Open
#149 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

Hello! 👋

Thank you for this package!

I'm considering contributing some code.

In a project I'm working on I'd like to utilize two separate sessions with different SameSite settings for the same endpoint.

If I understand correctly, it's not possible at the moment due to `req.session` and `req.sessionOptions` not being customizable.

Would a PR be welcomed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.