Skip to content

Commit 35513bc

Browse files
author
Drak
committed
Fix type and clarify behaviour
1 parent 852a205 commit 35513bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ The settings are as follows:
235235
- ``SessionStorageInterface::NO_START_ON_DEMAND_STRICT`` - The session will not be started on demand
236236
and any attempt to read or write session data will result in a ``\RuntimeException``
237237
- ``SessionStorageInterface::START_ON_DEMAND`` - The session will be started if it hasn't already been
238-
when any attempt is made to read ro write session data.
238+
when any attempt is made to read or write session data. This setting reflects the default behaviour
239+
since Symfony 2.1
239240
- ``SessionStorageInterface::NO_START_ON_DEMAND_LAX`` - The sessions will not be started on demand
240241
when session data is read or written to. It will allow access to the unitialized ``BagInterface``.
241242
If this session is subsequently started manually after data is written to a ``BagInterface`` will

0 commit comments

Comments
 (0)