Skip to content

Commit e9ee243

Browse files
author
Drak
committed
Update values.
1 parent 9d7cab4 commit e9ee243

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

reference/configuration/framework.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Configuration
2626
* enabled
2727
* field_name
2828
* `session`_
29+
* `name`_
30+
* `mock_name`_
2931
* `auto_start`_
3032
* `on_demand`_
3133
* `cookie_lifetime`_
@@ -150,6 +152,43 @@ csrf_protection
150152
session
151153
~~~~~~~
152154

155+
on_demand
156+
.........
157+
158+
**type**: ``string`` **default**: ``on``
159+
160+
Can be values
161+
162+
- ``on`` - start automatically if not started upon session read/write
163+
- ``off`` - do not start session automatically on data read/write, if an attempt is
164+
make to do so, throw a ``\RuntimeException``
165+
- ``off_lax`` - do not start session automatically on data read/write, but if an attempt
166+
is made to read or write to the session, allow access to the relevent bag.
167+
If data is written to the bags and a session is subsequently started, it will be
168+
overwritten.
169+
170+
auto_start
171+
..........
172+
173+
**type**: ``Boolean`` **default**: ``false``
174+
175+
This controls the ``SessionListener`` which will automatically start the session
176+
during the Request cycle.
177+
178+
name
179+
....
180+
181+
**type**: ``string``
182+
183+
Sets the session cookie name
184+
185+
mock_name
186+
.........
187+
188+
**type**: ``string``
189+
190+
Sets the mock session cookie name
191+
153192
cookie_lifetime
154193
...............
155194

0 commit comments

Comments
 (0)