cvs: phpdoc-ja /reference/session/functions session-name.xml

From: Date: Sun, 28 Aug 2005 15:28:29 +0000
Subject: cvs: phpdoc-ja /reference/session/functions session-name.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1162@lists.php.net to get a copy of this message
shimooka Sun Aug 28 11:28:29 2005 EDT Modified files: /phpdoc-ja/reference/session/functions session-name.xml Log: translation updated http://cvs.php.net/diff.php/phpdoc-ja/reference/session/functions/session-name.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-ja/reference/session/functions/session-name.xml diff -u phpdoc-ja/reference/session/functions/session-name.xml:1.6 phpdoc-ja/reference/session/functions/session-name.xml:1.7 --- phpdoc-ja/reference/session/functions/session-name.xml:1.6 Mon Nov 22 23:45:47 2004 +++ phpdoc-ja/reference/session/functions/session-name.xml Sun Aug 28 11:28:28 2005 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- splitted from ./ja/functions/session.xml, last change in rev 1.3 --> -<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- CREDITS: shimooka --> <refentry id="function.session-name"> <refnamediv> <refname>session_name</refname> @@ -27,7 +28,16 @@ <function>session_start</function>または <function>session_register</function> をコールする前に) <function>session_name</function> をコールする必要があります。 - </para> + </para> + <warning> + <para> + セッション名は数字だけで構成することはできません。少なくとも + 1 文字現れる必要があります。そうでない場合、新規セッション ID + が毎回生成されます。 + Session name can't consist only from digits, at least one letter must be + present. Otherwise new session id is generated every time. + </para> + </warning> <example> <title><function>session_name</function>の例</title> <programlisting role="php"> @@ -35,9 +45,9 @@ <?php // セッション名をWebsiteIDに設定する - + $previous_name = session_name("WebsiteID"); - + echo "前回のセッション名は、$previous_name です。<br />"; ?> ]]>

« previous php.doc.ja (#1162) next »