|
Posted by deresh on 10/20/05 13:55
On Thu, 13 Oct 2005 13:51:23 -0700, jimbojones230 wrote:
> Okay, so I guess I could pass all of the object variables, instantiate a
> new object, and then assign it the session variables. i.e.
>
> page1.php
>
> $object = new Class();
> $object->var = $value;
> $_SESSION['value'] = $value;
>
> page2.php
>
> $object = new Class();
> $value = $_SESSION['value'];
> $object->var = $value;
>
>
> Would something like that work?
http://php.linux.hr/manual/en/language.oop.serialization.php
i think this is a solution of all your problems :)
Navigation:
[Reply to this message]
|