Update session-scoping.blade.md

This commit is contained in:
Samuel Štancl 2024-04-04 21:06:48 +02:00 committed by GitHub
parent 181c4bd3ec
commit bc9de2e043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,8 @@ Here's how you can prevent this.
## Storing sessions in the database {#storing-sessions-in-the-database} ## Storing sessions in the database {#storing-sessions-in-the-database}
> Note: This approach has more variables than Redis, making it less reliable. It's recommended to use phpredis + the Redis session driver for proper session scoping.
Since the databases are automatically separated, simply using the database as the session driver will make this problem disappear altogether. Since the databases are automatically separated, simply using the database as the session driver will make this problem disappear altogether.
## Storing sessions in Redis {#storing-sessions-in-redis} ## Storing sessions in Redis {#storing-sessions-in-redis}