[PHP-DOC] cvs: phpdoc /en/functions session.xml From: Daniel Beckham (danbeck <email protected>)
Date: 06/27/01

danbeck Wed Jun 27 06:33:05 2001 EDT

  Modified files:
    /phpdoc/en/functions session.xml
  Log:
  documented issue in bug #8719
  
Index: phpdoc/en/functions/session.xml
diff -u phpdoc/en/functions/session.xml:1.39 phpdoc/en/functions/session.xml:1.40
--- phpdoc/en/functions/session.xml:1.39 Sun Jun 24 01:56:22 2001
+++ phpdoc/en/functions/session.xml Wed Jun 27 06:33:05 2001
@@ -536,12 +536,23 @@
     <para>
      This function returns true when the variable is successfully
      registered with the session.
- <note>
- <para>
- This function was added in PHP 4.0.
- </para>
- </note>
     </para>
+ <note>
+ <para>
+ It is not currently possible to register resource variables in a
+ session. For example, you can not create a connection to a
+ database and store the connection id as a session variable and
+ expect the connection to still be valid the next time the
+ session is restored. PHP functions that return a resource are
+ identified by having a return type of
+ <literal>resource</literal> in their function definitions.
+ </para>
+ </note>
+ <note>
+ <para>
+ This function was added in PHP 4.0.
+ </para>
+ </note>
    </refsect1>
   </refentry>