Skip to content

Commit 927dee1

Browse files
committed
Minor reword
1 parent 64c208d commit 927dee1

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

reference/configuration/framework.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -904,27 +904,25 @@ start and depends on `gc_divisor`_ and `gc_probability`_.
904904
sid_length
905905
..........
906906

907-
**type**: ``integer``
907+
**type**: ``integer`` **default**: ``32``
908908

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.
909+
This determines the length of session ID string, which can be an integer between
910+
``22`` and ``256`` (both inclusive), being ``32`` the recommended value. Longer
911+
session IDs are harder to guess.
913912

914-
This option refers to the`session.sid_length` of the `php.ini`
913+
This option is related to the `session.sid_length PHP option`_.
915914

916915
sid_bits_per_character
917916
......................
918917

919-
**type**: ``integer``
918+
**type**: ``integer`` **default**: ``4``
920919

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.
920+
This determines the number of bits in encoded session ID character. The possible
921+
values are ``4`` (0-9, a-f), ``5`` (0-9, a-v), and ``6`` (0-9, a-z, A-Z, "-", ",").
922+
The more bits results in stronger session ID. ``5`` is recommended value for
923+
most environments.
926924

927-
This option refers to the`session.sid_bits_per_character` of the `php.ini`
925+
This option is related to the `session.sid_bits_per_character PHP option`_.
928926

929927
save_path
930928
.........
@@ -2178,3 +2176,5 @@ available, or to ``flock`` otherwise. Store's DSN are also allowed.
21782176
.. _`webpack-manifest-plugin`: https://www.npmjs.com/package/webpack-manifest-plugin
21792177
.. _`error_reporting PHP option`: https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
21802178
.. _`CSRF security attacks`: https://en.wikipedia.org/wiki/Cross-site_request_forgery
2179+
.. _`session.sid_length PHP option`: https://php.net/manual/session.configuration.php#ini.session.sid-length
2180+
.. _`session.sid_bits_per_character PHP option`: https://php.net/manual/session.configuration.php#ini.session.sid-bits-per-character

0 commit comments

Comments
 (0)