Re: [PHP] Object lifetime

2006-02-21 Thread Richard Lynch
On Tue, February 21, 2006 9:12 am, roger helgesen wrote: > I'v got CLASS 1 and CLASS2. > CLASS1 makes many instanses of CLASS2 and stores them in an array. > > Ex. > -- > load class definition... > start_session(); > > $cl1=new CLASS1; > > I seria

[PHP] Object lifetime

2006-02-21 Thread roger helgesen
I'v got CLASS 1 and CLASS2. CLASS1 makes many instanses of CLASS2 and stores them in an array. Ex. -- load class definition... start_session(); submit form -> and unsreialize it to same var $cl1=unserialize($_SESSION['cla1']); $cl1 is operational with same data