-
ASP has five built-in objects, namely: response, request, server, session, application, in fact, these five built-in objects are the five activex dll components initialized by the iis console, since iis can initialize these five components for asp, of course, we can also directly reference these components in our activex dll to achieve our programming, That is, we can access ASP built-in objects by referencing these components in a VB application.
-
The five basic objects that were used in ASP continue to be supported in ASP, but they all serve in a different capacity:
application: wraps the httpapplication object, and the object obtained by using the application instruction in the program is obtained from the attribute backpass. request:
The httprequest object is wrapped, and the object obtained by using the request directive in the program is obtained from the attribute backpass. response: wraps the httpresponse object, and the object obtained by using the response directive in the program is obtained from the attribute backpass.
Session: wraps the httpsessionstate object, and the objects obtained by using the session directive in the program are all obtained from the attribute callback. server:
The httpserverutility object is wrapped, and the objects obtained by using the server directive in the program are all obtained from the attribute backpass.
-
An object is a variable that is made up of actions and data that are treated as complete entities. Objects are model-based in which the customer uses the object's services to access the object's data through an interface consisting of a set of methods or related functions, which the client can then call to perform an operation. ActiveX components are the key to building a web application, and components provide objects to perform tasks in scripts.
You can create an instance of an object using the asp method, and you can name an object instance using the variable assignment directive of a scripting language. Here's an example:
set db="")
The variable db here is the object instance created by the asp program to access the database.
Having an object is a very magical feeling, as a single person who has just taken off the single for a long time, I think there is a feeling that there is an object, it is really good and bad, it will exist, it depends on how the person understands it. >>>More
Cancer belongs to the water sign, Cancer is born on June 22-July 22, the ruling planet is the moon, and it is located in the fourth house of the zodiac. East of Gemini, west of Leo, and the patron saint is Hera. Cancer is a medium-sized, faint winter sign with an area of 506 square degrees, which is about the size of the celestial sphere. >>>More
Mental processes and personality psychology.
I feel that I used to be busy with my studies and didn't have the time and energy to be busy with the things of my partner, so I found a suitable partner for me in college.
Pass unit tests.
and integration testing, which can only guarantee the implementation of the functions of software development. However, it is not possible to confirm whether it meets the needs of users in actual operation, and whether there is a large number of hidden dangers that will induce errors under actual use conditions. For this reason, the developed software must undergo standardized system testing. >>>More