From: [EMAIL PROTECTED] Operating system: Slackware Linux PHP version: 4.0.4pl1 PHP Bug Type: Class/Object related Bug description: Objects not properly stored as session variables Look at http://mail2.anduin.net/index.phps for sourcecode of failing page. http://mail2.anduin.net/index.php to test, use test/test as username/password. Bug is as follows: I define the class "user", call session_start(), create an instance of the object called $currentuser, register this variable using session_register() (i tried doing this both before and after the instancination). Upon creating, the object sets some internal variables in its constructor, like "fullname". When loading the page again, having the session-id in PHPSESSID, the object shows up as existing, but trying to call a method or view a property fails with the message: Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition user of the object you are trying to operate on was loaded _before_ the session was started in /home/ltning/webmail2/index.php on line 34 I see this bug has been reported before and considered fixed, but it doesn't seem to be. Running latest (4.04pl1) PHP. best regards, Eirik Overby -- Edit Bug report at: http://bugs.php.net/?id=9194&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]