I've got a class called subscriber that is similar to the following;
class Subscriber {
var $email;
function Subscriber() {}
}
I stored an instance of this class in the session on form #1 and then send the user to form #2. The user can come back to form #1 and if so, I retrieve the subscriber object from the session variable. However, when I try to access any of the member variables, I get the following error.
Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition subscriber of the object you are trying to operate on was loaded before the session was started
I've turned auto_session and cookies on in the php.ini file. I'm using rh 7.2, and php4.0.6
Does anyone know what's going on here?
Thanks,
Jay