Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf39be76

Browse files
[FrameworkBundle][HttpFoundation] Deprecatesession.sid_length andsession.sid_bits_per_character config options
1 parentf1c7127 commitf39be76

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,6 +1874,10 @@ session IDs are harder to guess.
18741874

18751875
If not set, ``php.ini``'s `session.sid_length`_ directive will be relied on.
18761876

1877+
..deprecated::7.2
1878+
1879+
The ``sid_length`` option was deprecated in Symfony 7.2.
1880+
18771881
sid_bits_per_character
18781882
......................
18791883

@@ -1886,6 +1890,10 @@ most environments.
18861890

18871891
If not set, ``php.ini``'s `session.sid_bits_per_character`_ directive will be relied on.
18881892

1893+
..deprecated::7.2
1894+
1895+
The ``sid_bits_per_character`` option was deprecated in Symfony 7.2.
1896+
18891897
save_path
18901898
.........
18911899

‎session.rst‎

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

403+
..deprecated::7.2
404+
405+
The ``sid_length`` and ``sid_bits_per_character`` options were deprecated
406+
in Symfony 7.2 and will be ignored in Symfony 8.0.
407+
403408
The session cookie is also available in:ref:`the Response object<component-http-foundation-response>`.
404409
This is useful to get that cookie in the CLI context or when using PHP runners
405410
like Roadrunner or Swoole.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp