Re: [PHP] CLASS/Object lifetime

2006-02-21 Thread roger helgesen
Jochem Maas wrote: roger helgesen wrote: 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 in

Re: [PHP] CLASS/Object lifetime

2006-02-21 Thread Jochem Maas
roger helgesen wrote: 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