SplObjectStorage class cannot be stored in session variable
Posted: Thu Oct 08, 2009 1:47 am
My local developing server PHP version is 5.2.9 - 2
Production Server PHP version is 5.3.0
I use SplObjectStorage class to store a list of object and then store SplObjectStorage instance in session variable. When I retrieve that session variable from another page. I can retrive those classes from SplObjectStorage but all these instances are empty.
This bug only happens on my production server. It works very well on my developing server.
Thanks in advance to anyone who can help me.
Production Server PHP version is 5.3.0
I use SplObjectStorage class to store a list of object and then store SplObjectStorage instance in session variable. When I retrieve that session variable from another page. I can retrive those classes from SplObjectStorage but all these instances are empty.
This bug only happens on my production server. It works very well on my developing server.
Thanks in advance to anyone who can help me.