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

Appearance settings

Commit 64c208d

Browse filesBrowse files
committed
minor #10944 Update the documentation for the PR #30027 (XuruDragon)
This PR was merged into the master branch. Discussion ---------- Update the documentation for the PR #30027 See symfony/symfony#30027 Added `sid_length` and `sid_vits_per_character` options Commits ------- 8e44f8e Update the documentation for the PR #30027
2 parents eb446d7 + 8e44f8e commit 64c208d
Copy full SHA for 64c208d

File tree

1 file changed

+27
-0
lines changed
Filter options

1 file changed

+27
-0
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+27Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ Configuration
152152
* `metadata_update_threshold`_
153153
* `name`_
154154
* `save_path`_
155+
* `sid_length`_
156+
* `sid_bits_per_character`_
155157
* `storage_id`_
156158

157159
* `templating`_
@@ -899,6 +901,31 @@ This determines the number of seconds after which data will be seen as "garbage"
899901
and potentially cleaned up. Garbage collection may occur during session
900902
start and depends on `gc_divisor`_ and `gc_probability`_.
901903

904+
sid_length
905+
..........
906+
907+
**type**: ``integer``
908+
909+
This determines the length of session ID string. Session ID length can be
910+
between 22 to 256. The default is 32. If you need compatibility you may
911+
specify 32, 40, etc. Longer session ID is harder to guess. At least 32 chars
912+
is recommended.
913+
914+
This option refers to the`session.sid_length` of the `php.ini`
915+
916+
sid_bits_per_character
917+
......................
918+
919+
**type**: ``integer``
920+
921+
This determines the number of bits in encoded session ID character.
922+
The possible values are '4' (0-9, a-f), '5' (0-9, a-v), and '6'
923+
(0-9, a-z, A-Z, "-", ",").
924+
The default is 4. The more bits results in stronger session ID.
925+
5 is recommended value for most environments.
926+
927+
This option refers to the`session.sid_bits_per_character` of the `php.ini`
928+
902929
save_path
903930
.........
904931

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.