Skip to content

Commit 8a48f44

Browse files
committed
remove documentation for removed session options
1 parent e5849b2 commit 8a48f44

File tree

2 files changed

+0
-40
lines changed

2 files changed

+0
-40
lines changed

reference/configuration/framework.rst

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3268,39 +3268,6 @@ If ``null``, ``php.ini``'s `session.save_path`_ directive will be relied on:
32683268
->savePath(null);
32693269
};
32703270
3271-
sid_bits_per_character
3272-
......................
3273-
3274-
**type**: ``integer``
3275-
3276-
This determines the number of bits in the encoded session ID character. The possible
3277-
values are ``4`` (0-9, a-f), ``5`` (0-9, a-v), and ``6`` (0-9, a-z, A-Z, "-", ",").
3278-
The more bits results in stronger session ID. ``5`` is recommended value for
3279-
most environments.
3280-
3281-
If not set, ``php.ini``'s `session.sid_bits_per_character`_ directive will be relied on.
3282-
3283-
.. deprecated:: 7.2
3284-
3285-
The ``sid_bits_per_character`` option was deprecated in Symfony 7.2. No alternative
3286-
is provided as PHP 8.4 has deprecated the related option.
3287-
3288-
sid_length
3289-
..........
3290-
3291-
**type**: ``integer``
3292-
3293-
This determines the length of session ID string, which can be an integer between
3294-
``22`` and ``256`` (both inclusive), ``32`` being the recommended value. Longer
3295-
session IDs are harder to guess.
3296-
3297-
If not set, ``php.ini``'s `session.sid_length`_ directive will be relied on.
3298-
3299-
.. deprecated:: 7.2
3300-
3301-
The ``sid_length`` option was deprecated in Symfony 7.2. No alternative is
3302-
provided as PHP 8.4 has deprecated the related option.
3303-
33043271
.. _storage_id:
33053272

33063273
storage_factory_id
@@ -3963,8 +3930,6 @@ to know their differences.
39633930
.. _`session.gc_divisor`: https://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor
39643931
.. _`session.gc_probability`: https://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability
39653932
.. _`session.gc_maxlifetime`: https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
3966-
.. _`session.sid_length`: https://www.php.net/manual/en/session.configuration.php#ini.session.sid-length
3967-
.. _`session.sid_bits_per_character`: https://www.php.net/manual/en/session.configuration.php#ini.session.sid-bits-per-character
39683933
.. _`session.save_path`: https://www.php.net/manual/en/session.configuration.php#ini.session.save-path
39693934
.. _`session.use_cookies`: https://www.php.net/manual/en/session.configuration.php#ini.session.use-cookies
39703935
.. _`Microsoft NTLM authentication protocol`: https://docs.microsoft.com/en-us/windows/win32/secauthn/microsoft-ntlm

session.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,6 @@ Check out the Symfony config reference to learn more about the other available
425425
``session.auto_start = 1`` This directive should be turned off in
426426
``php.ini``, in the web server directives or in ``.htaccess``.
427427

428-
.. deprecated:: 7.2
429-
430-
The ``sid_length`` and ``sid_bits_per_character`` options were deprecated
431-
in Symfony 7.2 and will be ignored in Symfony 8.0.
432-
433428
The session cookie is also available in :ref:`the Response object <component-http-foundation-response>`.
434429
This is useful to get that cookie in the CLI context or when using PHP runners
435430
like Roadrunner or Swoole.

0 commit comments

Comments
 (0)