From 8e44f8e909a68921f119192c8771e5c05b96179c Mon Sep 17 00:00:00 2001 From: Anthony MARTIN Date: Wed, 30 Jan 2019 11:46:12 +0100 Subject: [PATCH] Update the documentation for the PR #30027 --- reference/configuration/framework.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 83325d3e26d..bcfafe97ba3 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -152,6 +152,8 @@ Configuration * `metadata_update_threshold`_ * `name`_ * `save_path`_ + * `sid_length`_ + * `sid_bits_per_character`_ * `storage_id`_ * `templating`_ @@ -899,6 +901,31 @@ This determines the number of seconds after which data will be seen as "garbage" and potentially cleaned up. Garbage collection may occur during session start and depends on `gc_divisor`_ and `gc_probability`_. +sid_length +.......... + +**type**: ``integer`` + +This determines the length of session ID string. Session ID length can be +between 22 to 256. The default is 32. If you need compatibility you may +specify 32, 40, etc. Longer session ID is harder to guess. At least 32 chars +is recommended. + +This option refers to the`session.sid_length` of the `php.ini` + +sid_bits_per_character +...................... + +**type**: ``integer`` + +This determines the number of bits in 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 default is 4. The more bits results in stronger session ID. +5 is recommended value for most environments. + +This option refers to the`session.sid_bits_per_character` of the `php.ini` + save_path .........