File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,13 @@ Time::setTimestamp()
77
77
``Time::setTimestamp() `` behavior has been fixed.
78
78
See :ref: `Upgrading Guide <upgrade-460-time-set-timestamp >` for details.
79
79
80
+ Session ID (SID)
81
+ ----------------
82
+
83
+ Now ``Session `` library forces to use the PHP default 32 character SIDs, with 4
84
+ bits of entropy per character.
85
+ See :ref: `Upgrading Guide <upgrade-460-sid-change >` for details.
86
+
80
87
.. _v460-interface-changes :
81
88
82
89
Interface Changes
Original file line number Diff line number Diff line change @@ -126,6 +126,27 @@ The following is an example of code that will no longer work:
126
126
127
127
.. literalinclude :: upgrade_460/001.php
128
128
129
+ .. _upgrade-460-sid-change :
130
+
131
+ Session ID (SID) Change
132
+ =======================
133
+
134
+ Now :doc: `../libraries/sessions ` forces to use the PHP default 32 character SIDs,
135
+ with 4 bits of entropy per character. This change is to match the behavior of
136
+ PHP 9.
137
+
138
+ In other words, the following settings are always used:
139
+
140
+ .. code-block :: ini
141
+
142
+ session.sid_bits_per_character = 4
143
+ session.sid_length = 32
144
+
145
+ In previous versions, the PHP ini settings was respected. So this change may
146
+ change your SID length.
147
+
148
+ If you cannot accept this change, customize the Session library.
149
+
129
150
Interface Changes
130
151
=================
131
152
You can’t perform that action at this time.
0 commit comments