note 31774 added to function.session-start

From: Date: Sat, 03 May 2003 06:22:35 +0000
Subject: note 31774 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-47412@lists.php.net to get a copy of this message
I built a great big object and I cache in a session var. I check in /tmp sure enough there it is, all serialized. However when I move to a new page to get it out, it doesn't get it. Here is my page to access it: shared_php provides the session_start. include ("shared.php"); require ("class.myobj.php"); $MYOBJ=$_SESSION['MYOBJ']; echo "size is $MYOBJ->size\n"; exit; -- http://www.php.net/manual/en/function.session-start.php http://master.php.net/manage/user-notes.php?action=edit+31774 http://master.php.net/manage/user-notes.php?action=delete+31774 http://master.php.net/manage/user-notes.php?action=reject+31774

« previous php.notes (#47412) next »