Whats the best way to pass class objects from one page to another - is it best to serialize it, pass it as a hidden variable, then unserialize it on the next page - or just put them in a session variable?
I was going to use session variables, but i think it might become tricky ensuring they are destroyed every time to ensure i dont end up with a rogue object by accident.
If using session variables, do i need to serialiaze it first, or just put it straight into the session?
Any ideas?