Hi,
I have posted this query a few times before but it does not seem to interst anyone...probably too trivial but I am a php beginner and any help will be greatly appreciated!
When I register a session variable and assign it to a new Object of my class in one page and try and access the methods of this object in a different page 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 test of the object you are trying to operate on was loaded before the session was started in/www/htdocs/rajiv/project/php/secondpage.php on line 18
I have included the class definition of test.php in file that accesses the session variable and have also included a session_register( ) after that.
Can anyone tell me what is it that I am missing??!
any help will be greatly appreciated.
Rajiv