Skip to content

Commit daa3137

Browse files
committed
minor symfony#14734 [Session] Update incorrect default value for session.handler_id (Nyholm)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [Session] Update incorrect default value for session.handler_id See config [definition](https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php#L557) and [how it is being used](https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L949). Commits ------- 5570ab8 [Session] Update incorrect default value for session.handler_id
2 parents 38296ea + 5570ab8 commit daa3137

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
@@ -1257,11 +1257,11 @@ alias will be set to this service id. This class has to implement
12571257
handler_id
12581258
..........
12591259

1260-
**type**: ``string`` **default**: ``null``
1260+
**type**: ``string`` **default**: ``'session.handler.native_file'``
12611261

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

12671267
.. _name:

0 commit comments

Comments
 (0)