RE: [PHP4BETA] quick wishlist...
| From: | Brian Lakstins | Date: | Sun, 15 Aug 1999 02:23:38 +0000 |
| Subject: | RE: [PHP4BETA] quick wishlist... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3431@lists.php.net to get a copy of this message | ||
I think there might be a misconception about the use of the global.asa file. As I understand it
(and Micro$oft may
explain it differently), the global.asa file is for running four subroutines that are event driven.
The four events
are:
1. The start of the Application (the first time a request is made for a document in that directory
(or one of it's
subdirectories) after the web server has been started).
2. The end of the Application (when the web server shuts down).
3. The start of a new Session (when a request is made for a document in that directory (or one of
it's subdirectories)
by a browser who has not been given a session cookie yet)
4. The end of a session (after no requests have been made for documents in that directory (or one
of it's
subdirectories) by a browser with a certain session cookie for a specified period of time).
Forgive me, because I really don't know too much about programming or PHP, but that is my
understanding of the
functionality of the global.asa file. Is there a similar functionality available in PHP4?
Brian Lakstins
On Fri, 13 Aug 1999, rfeather wrote:
> No. A global.asa file is a text file that ASP looks for when it goes into a
> directory. If it's there, it will load the values in memory (e.g., a
> connection string, session variables, SQL queries). This means you don't need
> to use include files.
>
> David Norris wrote:
> > ,David Norris
> >
> > World Wide Web -
> > http://www.geocities.com/CapeCanaveral/Lab/1652/
> > Home Computer - http://illusionary.tzo.cc/
> > Page via mail - 412039@pager.mirabilis.com
> > ICQ Universal Internet Number - 412039
> > E-Mail - kg9ae@geocities.com