I have a defined PHP class used for creating an object, and I am trying to store in $_SESSION scope using MODx.
I am working with $_SESSION in MODx currently without issues (Using Plugin/System events); however, if I specifically try storing a defined object in $_SESSION scope, I am getting errors on page-reload regarding the object/class definition needing to be loaded before anything else (references to building an
__autoload function, etc )
I have tried, to my knowledge, to get the "serialization" (as I think it’s called) to occur properly to enable stored of PHP Objects in session, all without luck
Anyone have any experience in the matter, or some advise to getting me on the right path? (Using PHP 5+)