cvs: phpdoc /en/functions session.xml
| From: | Daniel Beckham | Date: | Wed, 27 Jun 2001 04:33:05 +0000 |
| Subject: | cvs: phpdoc /en/functions session.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335667@lists.php.net to get a copy of this message | ||
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>