ASP built-in object

Source: Internet
Author: User

 

ASP built-in object

Active Server Pages provides built-in objects that make it easier for users to collect information sent through browser requests, respond to browsers, and store user information (such as user preferences ). This document briefly describes each object.

Application Object

AvailableApplicationObject To make a given applicationProgram.

Request Object

AvailableRequestThe object accesses any information transmitted using HTTP requests, includingPostMethod orGetParameters, cookies, and user authentication.RequestObject allows you to access the binary data sent to the server, such as the uploaded file.

Response Object

AvailableResponseThe information that the object control sends to the user. This includes sending information directly to the browser, redirecting the browser to another URL, or setting the cookie value.

Server Object

ServerObject provides access to methods and properties on the server. The most common method is to create an ActiveX component instance (Server. Createobject). Other methods are used to encode a URL or HTML into a string, map a virtual path to a physical path, and set the script timeout period.

Session Object

AvailableSessionObjects store the information required for a specific user session. When a user redirects between pages of an applicationSessionThe variables in the object are not cleared, and the variables always exist when the user accesses the page in the application. You can also useSessionMethod To explicitly end a session and set the timeout period of the idle session.

Objectcontext Object

AvailableObjectcontextThe object submits or revokes transactions initiated by ASP scripts.

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.