Re: [PHP] The ASP "application" object in PHP?

2002-02-16 Thread Peter J. Schoenster
On 16 Feb 2002, at 8:37, michael kimsal wrote: > I don't believe the original poster you quote really had/has > a firm grasp on what it actually does. > > The tried and true example is a hit counter. No matter who hits a > page, if that page increases an application variable called "counter" >

Re: [PHP] The ASP "application" object in PHP?

2002-02-16 Thread michael kimsal
Peter J. Schoenster wrote: > to all instances and sessions. It is for example very useful to track different users at the same time, or to send messages from one session to another, or the likes. > > Well it started from the above where some guy said this magic > could track u

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread Peter J. Schoenster
On 15 Feb 2002, at 23:12, michael kimsal wrote: > Tom Rogers wrote: > > Hi > > It uses cookies and only cookies and it seems that sessions are > > started on every access but can be turned off on individual pages if > > required. Tom > > Sorry Tom, but the application object has nothing to do wi

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread Tom Rogers
Hi Yes you are right ... i had my head tied up with sessions :) Tom At 02:12 PM 2/16/02, michael kimsal wrote: >Tom Rogers wrote: >>Hi >>It uses cookies and only cookies and it seems that sessions are started >>on every access but can be turned off on individual pages if required. >>Tom > > >Sor

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread Joshua Hoover
One way to simulate an application object is to use the php.ini "auto_prepend_file" option. Set the file with your application variables to be the file you want to prepend to every file in your application. Now, the only part that you don't have is an easy way to add/update/delete these variable

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread michael kimsal
Tom Rogers wrote: > Hi > It uses cookies and only cookies and it seems that sessions are started > on every access but can be turned off on individual pages if required. > Tom > Sorry Tom, but the application object has nothing to do with cookies. It is a 'global' session, for lack of a bette

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread Tom Rogers
Hi It uses cookies and only cookies and it seems that sessions are started on every access but can be turned off on individual pages if required. Tom At 07:44 AM 2/16/02, Peter J. Schoenster wrote: >On 15 Feb 2002, at 14:43, Bendik Simonsen wrote: > > > > I have however, noticed one feature tha

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread Peter J. Schoenster
On 15 Feb 2002, at 14:43, Bendik Simonsen wrote: > I have however, noticed one feature that ASP has that I have not found > an equal for in PHP: the "application" object. > > For those of you not familiar with ASP, the lowdown is this: The > application object acts like a global session. You as

Re: [PHP] The ASP "application" object in PHP?

2002-02-15 Thread Lars Torben Wilson
On Fri, 2002-02-15 at 05:43, Bendik Simonsen wrote: > > I've recently started to learn ASP (*ducks the hurled flowerpots and > vases*) because my school requires it, but of course I prefer PHP for > my own scripting needs. > > I have however, noticed one feature that ASP has that I have not foun

[PHP] The ASP "application" object in PHP?

2002-02-15 Thread Bendik Simonsen
I've recently started to learn ASP (*ducks the hurled flowerpots and vases*) because my school requires it, but of course I prefer PHP for my own scripting needs. I have however, noticed one feature that ASP has that I have not found an equal for in PHP: the "application" object. For those of y