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

remove documentation for removed session options#21155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
xabbuh wants to merge1 commit intosymfony:8.0
base:8.0
Choose a base branch
Loading
fromxabbuh:issue-21149
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletionsreference/configuration/framework.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3268,39 +3268,6 @@ If ``null``, ``php.ini``'s `session.save_path`_ directive will be relied on:
->savePath(null);
};

sid_bits_per_character
......................

**type**: ``integer``

This determines the number of bits in the encoded session ID character. The possible
values are ``4`` (0-9, a-f), ``5`` (0-9, a-v), and ``6`` (0-9, a-z, A-Z, "-", ",").
The more bits results in stronger session ID. ``5`` is recommended value for
most environments.

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

.. deprecated:: 7.2

The ``sid_bits_per_character`` option was deprecated in Symfony 7.2. No alternative
is provided as PHP 8.4 has deprecated the related option.

sid_length
..........

**type**: ``integer``

This determines the length of session ID string, which can be an integer between
``22`` and ``256`` (both inclusive), ``32`` being the recommended value. Longer
session IDs are harder to guess.

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

.. deprecated:: 7.2

The ``sid_length`` option was deprecated in Symfony 7.2. No alternative is
provided as PHP 8.4 has deprecated the related option.

.. _storage_id:

storage_factory_id
Expand DownExpand Up@@ -3963,8 +3930,6 @@ to know their differences.
.. _`session.gc_divisor`: https://www.php.net/manual/en/session.configuration.php#ini.session.gc-divisor
.. _`session.gc_probability`: https://www.php.net/manual/en/session.configuration.php#ini.session.gc-probability
.. _`session.gc_maxlifetime`: https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
.. _`session.sid_length`: https://www.php.net/manual/en/session.configuration.php#ini.session.sid-length
.. _`session.sid_bits_per_character`: https://www.php.net/manual/en/session.configuration.php#ini.session.sid-bits-per-character
.. _`session.save_path`: https://www.php.net/manual/en/session.configuration.php#ini.session.save-path
.. _`session.use_cookies`: https://www.php.net/manual/en/session.configuration.php#ini.session.use-cookies
.. _`Microsoft NTLM authentication protocol`: https://docs.microsoft.com/en-us/windows/win32/secauthn/microsoft-ntlm
Expand Down
5 changes: 0 additions & 5 deletionssession.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -425,11 +425,6 @@ Check out the Symfony config reference to learn more about the other available
``session.auto_start = 1`` This directive should be turned off in
``php.ini``, in the web server directives or in ``.htaccess``.

.. deprecated:: 7.2

The ``sid_length`` and ``sid_bits_per_character`` options were deprecated
in Symfony 7.2 and will be ignored in Symfony 8.0.

The session cookie is also available in :ref:`the Response object <component-http-foundation-response>`.
This is useful to get that cookie in the CLI context or when using PHP runners
like Roadrunner or Swoole.
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp