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

Fix ever-growing session cookie (starlette integration) #644

Merged

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Apr 11, 2024

Fix #622.

See #622 (comment) for more context about the proposed solution. The PR deletes old states from the cookie to avoid reaching the 4kb limit.

cc @lepture @frozturk

@Wauplin Wauplin changed the title Fix ever-growing session cookie Fix ever-growing session cookie (starlette integration) Apr 11, 2024
@lepture lepture merged commit 0ad753c into lepture:master Jul 1, 2024
11 checks passed
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.

Session cookie grows indefinitely, results in CSRF Warning.
2 participants