ASP Application Objects Tutorial

Source: Internet
Author: User

ASP Application Objects Tutorial

A group of ASP files, working together to implement some so-called purposes is applied. Application objects are used in ASP to fit these files together.


Application objects
An application may be a set of ASP files on the network. ASP files work together to perform certain purposes. Application objects are used in ASP to fit these files together.

The Application object is used to store and access variables from any page, just like the session object. The difference is that all users share one Application object, and there is one session object for each user.

The information that the Application object should hold will be used for applications in many Web pages (such as database connection information). This means that you can get information from any Web page. This also means that you can change the information in the same location and the changes will automatically be reflected on all pages.

Let's take a look at an example here.

<% Application ("online")%>

This kind of statistics online people data, of course, online population statistics We will also use the ASP's Global.asa file Oh, detailed I look at this article with the use of the method reproduced please indicate from http://www.111cn.net/asp/asp.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.