Skip to content

Commit 5570ab8

Browse files
Nyholmjaviereguiluz
authored andcommitted
[Session] Update incorrect default value for session.handler_id
1 parent c8a0a72 commit 5570ab8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,11 +1251,11 @@ alias will be set to this service id. This class has to implement
12511251
handler_id
12521252
..........
12531253

1254-
**type**: ``string`` **default**: ``null``
1254+
**type**: ``string`` **default**: ``'session.handler.native_file'``
12551255

1256-
The service id used for session storage. The default ``null`` value means to use
1257-
the native PHP session mechanism. Set it to ``'session.handler.native_file'`` to
1258-
let Symfony manage the sessions itself using files to store the session metadata.
1256+
The service id used for session storage. The default value ``'session.handler.native_file'``
1257+
will let Symfony manage the sessions itself using files to store the session metadata.
1258+
Set it to ``null`` to use the native PHP session mechanism.
12591259
You can also :doc:`store sessions in a database </session/database>`.
12601260

12611261
.. _name:

0 commit comments

Comments
 (0)