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.