svn: /phpdoc/en/trunk/reference/session/ sessionhandler.xml

From: Date: Sun, 04 Mar 2012 13:31:04 +0000
Subject: svn: /phpdoc/en/trunk/reference/session/ sessionhandler.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9826@lists.php.net to get a copy of this message
drak Sun, 04 Mar 2012 13:31:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323861 Log: [sessions] Added note about SessionHandler behaviour. Changed paths: U phpdoc/en/trunk/reference/session/sessionhandler.xml Modified: phpdoc/en/trunk/reference/session/sessionhandler.xml =================================================================== --- phpdoc/en/trunk/reference/session/sessionhandler.xml 2012-03-04 13:02:34 UTC (rev 323860) +++ phpdoc/en/trunk/reference/session/sessionhandler.xml 2012-03-04 13:31:04 UTC (rev 323861) @@ -133,6 +133,14 @@ ]]> </programlisting> </example> + <note> + <para> + Since this class' methods are designed to be called internally by PHP as part of the normal session workflow, + child class calls to parent methods (i.e. the actual internal native handlers) will return &false; unless + the session has actually been started (either automatically, or by explicit <function>session_start</function>. + This is important to consider when writing unit tests where the class methods might be invoked manually. + </para> + </note> </section> </partintro>

« previous php.doc.cvs (#9826) next »