cvs: phpdoc /ja/functions session.xml

From: Date: Sun, 24 Feb 2002 06:14:27 +0000
Subject: cvs: phpdoc /ja/functions session.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969342554@lists.php.net to get a copy of this message
yohgaki Sun Feb 24 01:14:27 2002 EDT Modified files: /phpdoc/ja/functions session.xml Log: Fix example that may cuase segfault :( Index: phpdoc/ja/functions/session.xml diff -u phpdoc/ja/functions/session.xml:1.30 phpdoc/ja/functions/session.xml:1.31 --- phpdoc/ja/functions/session.xml:1.30 Fri Feb 22 06:17:26 2002 +++ phpdoc/ja/functions/session.xml Sun Feb 24 01:14:26 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.30 $ --> +<!-- $Revision: 1.31 $ --> <reference id="ref.session"> <title>セッション処理関数(session)</title> <titleabbrev>セッション</titleabbrev> @@ -502,7 +502,7 @@ // If you are using session_name("something"), don't forget it now! session_start(); // Unset all of the session variables. -unset($_SESSION); +$_SESSION = array(); // Finally, destroy the session. session_destroy(); @@ -793,7 +793,7 @@ $_SESSION(またはPHP 4.0.6以前の場合は$HTTP_SESSION_VARS)が使用さ れている場合、セッション変数の登録を削除するために <function>unset</function>を使用して下さい。 - すなわち、unset($_SESSION); + すなわち、$_SESSION = array(); </para> </note> </refsect1>

« previous php.doc (#969342554) next »