From e80d74cb09babe67f923f173d7106f7cb641e103 Mon Sep 17 00:00:00 2001 From: Daniel Beckham Date: Wed, 27 Jun 2001 04:33:05 +0000 Subject: [PATCH] documented issue in bug #8719 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50260 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/session.xml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/functions/session.xml b/functions/session.xml index 45716baf61..19cf4a29ec 100644 --- a/functions/session.xml +++ b/functions/session.xml @@ -536,12 +536,23 @@ echo "The previous session name was $previous_name<p>"; This function returns true when the variable is successfully registered with the session. - - - This function was added in PHP 4.0. - - + + + 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 + resource in their function definitions. + + + + + This function was added in PHP 4.0. + +