Re: [PHP] Re: Session variables are not stored when set in implicitly calledconstructor!??

2005-04-21 Thread Jochem Maas
Jason Barnett wrote: Adam wrote: Hallo again, thank You for Your response. // singleton for request class Request { function __destructor() { $_SESSION["variable"] = "hallo"; The __destructor() method is supposed to be about killing the class (Request). It's probably bad practice to be ch

Re: [PHP] Re: Session variables are not stored when set in implicitly calledconstructor!??

2005-04-19 Thread Jason Barnett
Adam wrote: > Hallo again, > thank You for Your response. > > >>>// singleton for request >>>class Request { >>>function __destructor() { >>>$_SESSION["variable"] = "hallo"; >> >>The __destructor() method is supposed to be about killing the class >>(Request). It's probably bad practice

Re: [PHP] Re: Session variables are not stored when set in implicitly calledconstructor!??

2005-04-19 Thread Adam
Hallo again, thank You for Your response. > > > > // singleton for request > > class Request { > > function __destructor() { > > $_SESSION["variable"] = "hallo"; > > The __destructor() method is supposed to be about killing the class > (Request). It's probably bad practice to be chang