Skip to content

Update the documentation for the PR #30027 #10944

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2019
Merged
Changes from all 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
27 changes: 27 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ Configuration
* `metadata_update_threshold`_
* `name`_
* `save_path`_
* `sid_length`_
* `sid_bits_per_character`_
* `storage_id`_

* `templating`_
Expand Down Expand Up @@ -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
.........

Expand Down