Hi, Make sure you include the Class file in every consecutive page that you would like to use the object in.
Regards, Justin Palmer -----Original Message----- From: Matthias H. Risse [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: [PHP] is_object($_SESSION['dagobertduck']); hi: i wonder why... if(!is_object($_SESSION['xmlModel'])) echo "there is no obj present, juppa**"; at my place always results in TRUE or echoing the "there is no.. ", even if var_dump reports that $_SESSION['xmlModel'] is an object. did i screw something up or are there special policies with the beloved session variables? i thought $_SESSION is just mapped into memory from the session-container during init on every request and at the end of the script serialized back to the container? maybe i missed special policies for referencing objects stored in the session-variable? thanks! /m -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php