ASP. NET self-study-ASP. NET status management

Source: Internet
Author: User

Each time a webpage is sent to a server, a new instance of the webpage class is created. In traditional WEB programming, this usually means that all information associated with the page and controls on the page will be lost during each round trip. For example, if you enter the information in the text box, the information will be lost in the round-trip from the browser or client device to the server.

To address the inherent limitations of traditional WEB programming, ASP. NET includes several options to help you retain data by PAGE andProgramData is retained within the specified range. These functions are as follows:

  • View status

  • Control status

  • Hide domain

  • Cookie

  • Query string

  • Application Status

  • Session Status

  • Configuration File Properties

View status, control status, hidden domain, cookie, and query string all involve storing data on the client in different ways. The Application Status, session status, and configuration file attributes all store data in the memory on the server. Each option has different advantages and disadvantages, depending on the corresponding solution.

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.