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.