Hi! ;>
I need to register objects within sessions. Since this is not possible with php sessions, I have started on my own simple session library. At the time being, it only supports normal variables and two-dimensional arrays (I don't need multi-dimensional arrays, and therefore could not be bothered to implement support for it).
However, I was wondering if there are any techniques to gather the current data stored in an object for later reconstruction. The technique I'm working on now depends on two functions within each object (saveObjectData() and loadObjectData()). These functions would be able to save and load data from key-value pairs (and some extra stuff for arrays). Any better suggestions on how to do this?