File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1845,13 +1845,19 @@ If not set, ``php.ini``'s `session.gc_divisor`_ directive will be relied on.
18451845gc_probability
18461846..............
18471847
1848- **type **: ``integer `` ** default **: `` 1 ``
1848+ **type **: ``integer ``
18491849
18501850This defines the probability that the garbage collector (GC) process is
18511851started on every session initialization. The probability is calculated by
18521852using ``gc_probability `` / ``gc_divisor ``, e.g. 1/100 means there is a 1%
18531853chance that the GC process will start on each request.
18541854
1855+ If not set, ``php.ini ``'s `session.gc_probability `_ directive will be relied on.
1856+
1857+ .. versionadded :: 7.2
1858+
1859+ Relying on ``php.ini ``'s directive as default for ``gc_probability `` was introduced in symfony 7.2.
1860+
18551861gc_maxlifetime
18561862..............
18571863
@@ -3893,6 +3899,7 @@ The attributes can also be added to interfaces directly::
38933899.. _`session.cookie_samesite` : https://www.php.net/manual/en/session.configuration.php#ini.session.cookie-samesite
38943900.. _`session.cookie_secure` : https://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
38953901.. _`session.gc_divisor` : https://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor
3902+ .. _`session.gc_probability` : https://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability
38963903.. _`session.gc_maxlifetime` : https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
38973904.. _`session.sid_length` : https://www.php.net/manual/en/session.configuration.php#ini.session.sid-length
38983905.. _`session.sid_bits_per_character` : https://www.php.net/manual/en/session.configuration.php#ini.session.sid-bits-per-character
You can’t perform that action at this time.
0 commit comments