Posted by Jochem Maas on 09/30/00 11:33
Matt Monaco wrote:
> What is the best way to pass an object between pages? Currently I am
> first
> serializing, then doing a base64_encode, this doesn't seem entirely
> efficient. (Especially the encode).
>
> I am however using the encode because I have the serialized object as the
> value of a hidden form element. I can only have alphanumerics here.
stick the object in $_SESSION, making sure that you ALWAYS include the
relevant class definition(s) BEFORE starting the session.
>
Navigation:
[Reply to this message]
|