Re: [PHP] application-wide shared data/object

2005-07-28 Thread Aiguo Fei
e isn't a way to do this in PHP that I'm aware of. This is > assuming that you want to be able to basically remove the object from > the global scope. In PHP objects are globally accessible from the > moment they're created to the moment they're destroyed. > > Good

Re: [PHP] application-wide shared data/object

2005-07-28 Thread Aiguo Fei
For a complete solution, it should support object locking/exclusive > >> access as well. > > > > > > Maybe I've been a spoiled PHP programmer for too long. ;-) I'm not sure > > what object locking/ exclusive access is but from the sounds of it, > > the

[PHP] application-wide shared data/object

2005-07-27 Thread Aiguo Fei
In ASP.Net there is the concept of "application" which is a virtual directory on a Web server. An application can have application-wide shared data/objects, which can be accessed by any script of that application (i.e., scripts under the virtual directory). I have gone through several PHP books, ha