ID: 16800 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open -Bug Type: Session related +Bug Type: Documentation problem Operating System: linux PHP Version: 4.1.2 New Comment:
I made it a documentation problem. The manual page for 'session_register()' should explicitly mention this. Previous Comments: ------------------------------------------------------------------------ [2002-04-24 12:47:56] [EMAIL PROTECTED] arrays can't be registered in sessions. However, you can store a serialized array: $arr = serialize($array); session_register($arr); -daniel ------------------------------------------------------------------------ [2002-04-24 12:46:52] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-04-24 12:28:56] [EMAIL PROTECTED] I've tried to register a seesion variable $array[$i] with sessionn_register(), where $i is an integer index, but failed. In a temporary session file in my /tmp directory I found a declaration like !array[0]|, and now values. Please help! Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16800&edit=1