svn: /phpdoc/en/trunk/reference/session/ ini.xml

From: Date: Mon, 18 Jul 2016 04:04:09 +0000
Subject: svn: /phpdoc/en/trunk/reference/session/ ini.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14344@lists.php.net to get a copy of this message
yohgaki Mon, 18 Jul 2016 04:04:09 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339678 Log: Document RFC - https://wiki.php.net/rfc/session-id-without-hashing Changed paths: U phpdoc/en/trunk/reference/session/ini.xml Modified: phpdoc/en/trunk/reference/session/ini.xml =================================================================== --- phpdoc/en/trunk/reference/session/ini.xml 2016-07-17 07:12:40 UTC (rev 339677) +++ phpdoc/en/trunk/reference/session/ini.xml 2016-07-18 04:04:09 UTC (rev 339678) @@ -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> @@ -161,16 +161,28 @@ <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> @@ -473,6 +485,9 @@ </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> if it is available. In PHP 5.3.0 this directive is left empty by default. @@ -490,8 +505,11 @@ <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,9 +747,63 @@ 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> + <varlistentry xml:id="ini.session.hash-function"> <term> <parameter>session.hash_function</parameter> @@ -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>

« previous php.doc.cvs (#14344) next »