Skip to content

Conversation

@mathiasgrimm
Copy link
Contributor

When using SESSION_DRIVER=database, it uses the write/read connections unless we set SESSION_CONNECTION=mysql::write.

This can cause issues when the "read" database is lagging behind the "write" database leading to issues such as CSRF exception.

@taylorotwell taylorotwell merged commit 1f174fc into 11.x Jan 17, 2025
39 checks passed
@taylorotwell taylorotwell deleted the database-session-write-connection branch January 17, 2025 17:15
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.

3 participants