Move sessions to Redis (better performance)
gulien opened this issue · comments
^
From documentation:
That’s all! Symfony will now use your Redis server to read and write the session data. The main drawback of this solution is that Redis does not perform session locking, so you can face race conditions when accessing sessions. For example, you may see an “Invalid CSRF token” error because two requests were made in parallel and only the first one stored the CSRF token in the session.
https://symfony.com/doc/current/session/database.html#store-sessions-in-a-key-value-database-redis
Avoid for now.