vrana Wed Sep 22 04:31:50 2004 EDT
Modified files:
/phpdoc/en/reference/session reference.xml
Log:
Some data can be serialized (bug #17419)
http://cvs.php.net/diff.php/phpdoc/en/reference/session/reference.xml?r1=1.49&r2=1.50&ty=u
Index: phpdoc/en/reference/session/reference.xml
diff -u phpdoc/en/reference/session/reference.xml:1.49
phpdoc/en/reference/session/reference.xml:1.50
--- phpdoc/en/reference/session/reference.xml:1.49 Fri Aug 6 17:57:41 2004
+++ phpdoc/en/reference/session/reference.xml Wed Sep 22 04:31:49 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.49 $ -->
+<!-- $Revision: 1.50 $ -->
<reference id="ref.session">
<title>Session Handling Functions</title>
<titleabbrev>Sessions</titleabbrev>
@@ -44,6 +44,14 @@
being not defined. On subsequent accesses, these are not defined
by the session module unless the user defines them later.
</para>
+ <warning>
+ <para>
+ Some types of data can not be serialized thus stored in sessions. It
+ includes <type>resource</type> variables or objects with circular
+ references (i.e. objects which passes a reference to itself to another
+ object).
+ </para>
+ </warning>
<note>
<para>
Session handling was added in PHP 4.0.