mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Document RFC - https://wiki.php.net/rfc/session-id-without-hashing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339678 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
02fd937287
commit
11a4540fb9
1 changed files with 92 additions and 15 deletions
|
@ -122,13 +122,13 @@
|
|||
<entry><link linkend="ini.session.entropy-file">session.entropy_file</link></entry>
|
||||
<entry>""</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry></entry>
|
||||
<entry>Removed in PHP 7.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.session.entropy-length">session.entropy_length</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry></entry>
|
||||
<entry>Removed in PHP 7.1.0</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.session.cache-limiter">session.cache_limiter</link></entry>
|
||||
|
@ -160,17 +160,29 @@
|
|||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 4.3.0. Removed in PHP 5.4.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.session.sid-length">session.sid_length</link></entry>
|
||||
<entry>"48"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 7.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.session.sid-bits-per-character">session.sid_bits_per_character</link></entry>
|
||||
<entry>"5"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 7.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.session.hash-function">session.hash_function</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
<entry>Available since PHP 5.0.0. Removed in PHP 7.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.session.hash-bits-per-character">session.hash_bits_per_character</link></entry>
|
||||
<entry>"4"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
<entry>Available since PHP 5.0.0. Removed in PHP 7.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.url-rewriter.tags">url_rewriter.tags</link></entry>
|
||||
|
@ -426,13 +438,13 @@
|
|||
<link linkend="ini.session.gc-divisor">session.gc_divisor</link>).
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
If different scripts have different values of
|
||||
<literal>session.gc_maxlifetime</literal> but share the same place for
|
||||
storing the session data then the script with the minimum value will be
|
||||
cleaning the data. In this case, use this directive together with <link
|
||||
linkend="ini.session.save-path">session.save_path</link>.
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -472,6 +484,9 @@
|
|||
will make PHP use the Windows Random API as entropy source.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
Removed in PHP 7.1.0.
|
||||
</simpara>
|
||||
<simpara>
|
||||
As of PHP 5.4.0 <literal>session.entropy_file</literal> defaults
|
||||
to <literal>/dev/urandom</literal> or <literal>/dev/arandom</literal>
|
||||
|
@ -490,7 +505,10 @@
|
|||
<simpara>
|
||||
<literal>session.entropy_length</literal> specifies the number
|
||||
of bytes which will be read from the file specified
|
||||
above. Defaults to <literal>0</literal> (disabled).
|
||||
above. Defaults to <literal>32</literal>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Removed in PHP 7.1.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -560,10 +578,10 @@
|
|||
<function>session_set_cookie_params</function>.
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
The expiration timestamp is set relative to the server time, which is
|
||||
not necessarily the same as the time in the client's browser.
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -705,6 +723,11 @@
|
|||
session.bug_compat_warn</link> is also enabled. This feature/bug can be
|
||||
disabled by disabling this directive.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
Removed in PHP 5.4.0.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
@ -724,6 +747,60 @@
|
|||
and <link linkend="ini.session.bug-compat-warn">
|
||||
session.bug_compat_warn</link>.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
Removed in PHP 5.4.0.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.session.sid-length">
|
||||
<term>
|
||||
<parameter>session.sid_length</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>session.sid_length</literal> allows you to specify the
|
||||
length of session ID string. Session ID length can be between 22
|
||||
to 256.
|
||||
</simpara>
|
||||
<simpara>
|
||||
The default is 48. If you need compatibility you may specfy 32,
|
||||
40, etc.
|
||||
</simpara>
|
||||
<para>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
This setting is introduced in PHP 7.1.0.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.session.sid-bits-per-character">
|
||||
<term>
|
||||
<parameter>session.sid_bits_per_character</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<literal>session.sid_per_character</literal> allows you to specify 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, "-", ",").
|
||||
</simpara>
|
||||
<simpara>
|
||||
The default is 5.
|
||||
</simpara>
|
||||
<para>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
This setting is introduced in PHP 7.1.0.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
@ -746,9 +823,9 @@
|
|||
be obtained with the <function>hash_algos</function> function.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This setting was introduced in PHP 5.
|
||||
</para>
|
||||
<simpara>
|
||||
This setting was introduced in PHP 5. Removed in PHP 7.1.0.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -766,9 +843,9 @@
|
|||
'5' (0-9, a-v), and '6' (0-9, a-z, A-Z, "-", ",").
|
||||
</simpara>
|
||||
<note>
|
||||
<para>
|
||||
This was introduced in PHP 5.
|
||||
</para>
|
||||
<simpara>
|
||||
This was introduced in PHP 5. Removed in PHP 7.1.0.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue