Skip to content

Commit

Permalink
docs: add changelog and upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Aug 30, 2024
1 parent 12385ed commit 703c273
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions user_guide_src/source/changelogs/v4.6.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ environment, this behavior has been fixed so that error details are displayed if
With this fix, the error details are now displayed under the same conditions for
both HTML requests and non-HTML requests.

Session ID (SID)
----------------

Now ``Session`` library forces to use the PHP default 32 character SIDs, with 4
bits of entropy per character.
See :ref:`Upgrading Guide <upgrade-460-sid-change>` for details.

.. _v460-interface-changes:

Interface Changes
Expand Down
21 changes: 21 additions & 0 deletions user_guide_src/source/installation/upgrade_460.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,27 @@ The following is an example of code that will no longer work:

.. literalinclude:: upgrade_460/001.php

.. _upgrade-460-sid-change:

Session ID (SID) Change
=======================

Now :doc:`../libraries/sessions` forces to use the PHP default 32 character SIDs,
with 4 bits of entropy per character. This change is to match the behavior of
PHP 9.

In other words, the following settings are always used:

.. code-block:: ini
session.sid_bits_per_character = 4
session.sid_length = 32
In previous versions, the PHP ini settings was respected. So this change may
change your SID length.

If you cannot accept this change, customize the Session library.

Interface Changes
=================

Expand Down

0 comments on commit 703c273

Please sign in to comment.