8000 Add some doc on missing options of framework bundle configuration · symfony/symfony-docs@1fd2823 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1fd2823

Browse files
committed
Add some doc on missing options of framework bundle configuration
1 parent f5fb157 commit 1fd2823

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

reference/configuration/framework.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ Configuration
6868
* `gc_divisor`_
6969
* `gc_probability`_
7070
* `gc_maxlifetime`_
71+
* `use_strict_mode`_
7172
* `save_path`_
73+
* `metadata_update_threshold`_
7274
* `assets`_
7375
* `base_path`_
7476
* `base_urls`_
@@ -809,6 +811,17 @@ This determines the number of seconds after which data will be seen as "garbage"
809811
and potentially cleaned up. Garbage collection may occur during session
810812
start and depends on `gc_divisor`_ and `gc_probability`_.
811813

814+
use_strict_mode
815+
...............
816+
817+
**type**: ``boolean`` **default**: ``0``
818+
819+
This specifies whether the module will use strict session id mode. If this mode
820+
is enabled, the module does not accept uninitialized session ID. If
821+
uninitialized session ID is sent from browser, new session ID is sent to
822+
browser. Applications are protected from session fixation via session adoption
823+
with strict mode.
824+
812825
save_path
813826
.........
814827

@@ -855,6 +868,18 @@ setting the value to ``null``:
855868
),
856869
));
857870
871+
metadata_update_threshold
872+
.........................
873+
874+
This is how many seconds to wait between 2 session metadata updates, it will
875+
also prevent the session handler to write if the session has not changed.
876+
877+
878+
.. seealso::
879+
880+
You can see an example of the usage of this in
881+
:doc:`/session/limit_metadata_writes`.
882+
858883
assets
859884
~~~~~~
860885

0 commit comments

Comments
 (0)
0