Re: Passing objects between pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux