PHP Class Scope
<p>I am fairly new to PHP.   What is the best way to control access to a class throughout a PHP application and where is the best place to store these classes that will need to be accessed throughout the entire application?   Example; I have a user class that is created on during the login process, but each time the page post it appears that the object is reinitialized.</p>

<p>I have tried to set property IsLoggedIn and then check that variable each time before creating the object as new again, but this doesn't seem work.   I have also tried to use the isSet function in PHP to see if the class variable already exists   </p>
