1
All,
I *did* search before I posted and couldn't find the answer. If I missed something, I apologize.
I have tried to store / retrieve an custom object in $_SESSION, but on retrieving the object, it does not work properly. Inspecting the object with print_r() shows that it is a "__PHP_Incomplete_Class Object". The class is defined before retrieving the object. Research indicates that to get my code to work properly, the class has to be defined before session_start() is executed in include/common.php, but it is not obvious to me how to do that without modifying either mainfile.php or common.php. Could someone point me to the correct way I should be doing this?
Peter