File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ Configuration
26
26
* enabled
27
27
* field_name
28
28
* `session `_
29
+ * `name `_
30
+ * `mock_name `_
29
31
* `auto_start `_
30
32
* `on_demand `_
31
33
* `cookie_lifetime `_
@@ -150,6 +152,43 @@ csrf_protection
150
152
session
151
153
~~~~~~~
152
154
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
+
153
192
cookie_lifetime
154
193
...............
155
194
You can’t perform that action at this time.
0 commit comments