Six built-in objects of ASP. NET

Source: Internet
Author: User

ASP. NET six built-in objects (System. Web. UI. Page class ):

It mainly allows the server to obtain some data from the client browser, including parameters, cookies, and user authentication transmitted from the HTML form using the Post or GET method. Because the Request object is a member of the Page object, it can be directly used in the program without any declaration;

Output data to the client, including outputting data to the browser, redirecting the browser to another URL, or outputting a Cookie file to the browser.

Provides access to methods and properties on the server. The class name is HttpServerUtility.

 

In actual network development, the purpose is to record the information of the entire network, such as the number of online users, online lists, opinion surveys, and online elections. Information is shared among multiple users in a given application and stored permanently during server running. In addition, the Application object also provides methods to control access to Application layer data and events that can be used to trigger the process when the Application starts or stops.

. In this way, multiple users may modify the name object of the same Application, resulting in data inconsistency.

In. NET, the corresponding HttpSessionState class indicates the "Session state". Session refers to a user's access to a site within a period of time. Saves information related to the current user session.

Is a piece of text that the Web server saves on the user's hard disk. Cookie allows a Web site to save information on a user's computer and then retrieve it. Information fragments are stored as 'key/value' pairs.

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.