note 31288 added to language.oop.serialization

From: Date: Wed, 16 Apr 2003 13:38:25 +0000
Subject: note 31288 added to language.oop.serialization
Groups: php.notes 
Request: Send a blank email to php-notes+get-46687@lists.php.net to get a copy of this message
Ok! I've got a good one ;) I am using frames and using sessions with objects. Each Frame contains a .php file with an instance of the class running on it. When using individual .php script files to load values into the class objects I get an error. The trick here is to use the frameset page to define all class objects, have this page serialize then have the individual pages utilize the classes. This clears up the problem. It seems that when two pages are running the same seesion concurently they don't store the class objects correctly. The error would flip-flop randomly between the frames. Any idea why? -thanks -- http://www.php.net/manual/en/language.oop.serialization.php http://master.php.net/manage/user-notes.php?action=edit+31288 http://master.php.net/manage/user-notes.php?action=delete+31288 http://master.php.net/manage/user-notes.php?action=reject+31288

« previous php.notes (#46687) next »