ASP built-in objects

Source: Internet
Author: User
Tags html form http request
Object | built-in objects Active Server Pages provide built-in objects, these objects to make it easier for users to collect through the browser please send the information, in response to the browser, and store the user information (such as user preferences ). In this paper, a brief explanation each object. For each object detailed information, please refer to the built-in object reference.

Application Object
You can use the Application object to make a given application to all the users of the information.

Request object
You can use the Request object access any HTTP request message, from the HTML form with the POST method or the GET method parameter, cookies and user authentication. Request object to allow you to get enough access to the server, the binary data, such as uploading the file.

Response object
You can use the Response object control send information for the user. Including direct send information to the browser, redirect the browser to another URL or sets the cookie value.

Server Object
Server Object to provide to the server on the methods and properties of the visit. The most common method is to create AC tivex component (Server. Createobject ). The other method is used to the URL or HTML encoded into a string, the Virtual Path of the mapping to the physical path and set the script timeout period.

Session Object
You can use the Session object storage for a specific user session for the information they need. When the user application page jump between, stored in the Session object in the variable will not clear; and the user in the application access page, these variables always exist. You can also use the Session method explicitly end a session and set up a free session timeout period.

ObjectContext object
You can use the ObjectContext object submit or undo by ASP scripts initialize the transaction.



Related Article

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.