CLASS/Object lifetime

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

 



 Hi!

I'v got 2 classes. CLASS1 makes a array of instanses of class2.

I need thees classes 2 live for the duration of the session so I serialize class1 to a _session var.

I submit the form and the page is reloaded. I unserialize class1 back 2 same instanse var.
class1 I works. The instanses of class2 almost work.
I can read all data from the class/object, I can run functions off class2 BUT I can't change the data in objects og class2.

Is this at all possible.

ps.I do not serialize/unserialize object of CLASS2, these are instanses of CLASS1.

regard
Roger Helgesen

--
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