We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a123d8 commit 824e28dCopy full SHA for 824e28d
session.rst
@@ -667,6 +667,17 @@ and only the first one stored the CSRF token in the session.
667
replace ``RedisSessionHandler`` by
668
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcachedSessionHandler`.
669
670
+.. tip::
671
+
672
+ When using Redis with a DSN in the
673
+ :ref:`handler_id <config-framework-session-handler-id>` config option, the
674
+ latter can contain the ``prefix`` and ``ttl`` options as query string parameters.
675
676
+ .. versionadded:: 5.4
677
678
+ The support for ``prefix`` and ``ttl`` options in a Redis DSN was
679
+ introduced in Symfony 5.4.
680
681
.. _session-database-pdo:
682
683
Store Sessions in a Relational Database (MariaDB, MySQL, PostgreSQL)
0 commit comments