[PHP] Object Scope

2005-09-06 Thread Chuck Brockman
What is the best practice for calling objects that are to be used throughout a users site visit. For example, I have a members class with two classes that extend this class. Is it best to instantiate the object in the $_Session scope or make individual calls to the class/object. For example:

Re: [PHP] Object Scope

2005-09-06 Thread Jason Davidson
I prefer to make the object on each page load, passing only the member id thru the session. Jason On 9/6/05, Chuck Brockman [EMAIL PROTECTED] wrote: What is the best practice for calling objects that are to be used throughout a users site visit. For example, I have a members class with