Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use multiple sessions with different stores #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

srbry
Copy link

@srbry srbry commented Dec 21, 2021

Based off of discussions in: #124

The basic premise:

Sometimes it is helpful to have different session stores for sessions that have a different purpose.

For example:

  • CSRF tokens stored in cookies
  • User sessions stored in a server-side technology

Additionally, you may also just want to use the same technology but with different settings. For example, one store might have a MaxAge of 10 minutes while another has a MaxAge of 30 days.

@appleboy
Copy link
Member

appleboy commented Apr 5, 2023

@srbry Please help to resolve conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants