A group of ASP files may be called an application on the Web . Some purpose can be achieved when the ASP file work together.In ASP ,the Application
object is used to tie these files together. For storing and accessing variables from
any page, just like the Session object,the
Application object is used . The difference is that
in Sessions there is one Session object for EACH user while ALL users share one Application object .
In the Particular application (like database connection
information),the Application object should hold information that will be
used by many pages . This means it is possible access the information
from any page. In an Application object , you can change the information
in one place and the changes will automatically be reflected on
all pages.
|