I have two namespaces in my session: "global" and "user"
In "global" there are just a few settings and in "user" i have a serialized user-object which I guess is saved correctly: (This is from the sessionfile)
global|a:16:{ [...] s:12:"last_request";i:1301390173; [...] }
user|a:1:{ s:10:"userObject";O:16:"currentUserModel":24:{ [...] s:10:"*_roleId";s:7:"premium"; [...] } }
When I do this:
$sess = new Zend_Session_Namespace('global');
I get an error about including "currentUserModel.php" which I don't want because I don't need the userobject at this point - all I want to do is get my "global" namespace.
Now the question is: Do I have to include all classes for all objects stored in all my namespaces or is it possible to include just the classes for the objects that are in the namespace I'm accessing?
Thanks in advance