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

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Fri, 31 Jul 2020 00:34:59 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=350254

Log:
Remove out-dated Windows related info
Fix #79892: session.use_strict_mode and SessionHandlerInterface mismatch

Bug: https://bugs.php.net/79892 (error getting bug information)
      
Changed paths:
    U   phpdoc/ja/trunk/reference/session/ini.xml

Modified: phpdoc/ja/trunk/reference/session/ini.xml
===================================================================
--- phpdoc/ja/trunk/reference/session/ini.xml	2020-07-31 00:26:15 UTC (rev 350253)
+++ phpdoc/ja/trunk/reference/session/ini.xml	2020-07-31 00:34:59 UTC (rev 350254)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347259 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 350234 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,takagi,mumumu -->
 <section xml:id="session.configuration" xmlns="http://docbook.org/ns/docbook">
  &reftitle.runtime;
@@ -350,13 +350,6 @@
       それを必要とするような大規模サイトに限るようにしましょう。
      </para>
     </caution>
-    <note>
-     <simpara>
-      PHP 4.3.6 以前では、WindowsユーザーがPHPのsession関数を使用するためには、
-      この変数を変更する必要があります。<filename>c:/temp</filename>
-      のような有効なパスを指定するようにしてください。
-     </simpara>
-    </note>
    </listitem>
   </varlistentry>

@@ -571,6 +564,16 @@
      詳細は <function>session_create_id</function> のサンプルコードを参照ください。
      </simpara>
     </note>
+    <warning>
+     <para>
+      カスタムのセッションハンドラが <function>session_set_save_handler</function> 経由で登録され、
+      それが <methodname>SessionUpdateTimestampHandlerInterface::validateId</methodname> を実装せず、
+      <parameter>validate_sid</parameter> コールバックを提供しない場合、
+      このディレクティブの値に関わらず、厳格なセッションIDモードは無効になります。
+      <classname>SessionHandler</classname> クラスは <methodname>SessionHandler::validateId</methodname>
+      を実装して <emphasis>いない</emphasis> ことに特に注意して下さい。
+     </para>
+    </warning>
    </listitem>
   </varlistentry>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.