ASP understanding of the built-in objects
ASP understanding of the built-in objects
ASP-Application, AspError, Request, Response, Session, ObjectContext, seven Object Server (Object), and each object has its own properties (Property), the method (Method), set (Collection) or event (Event) . now we introduced to the meaning of these terms, so that we better understand ASP to the built-in object:
"Object" (Object) as we see in everyday life in the various objects, such as computers, refrigerators, automobiles, mobile phones and so on, and in turn, may object composed of many objects, for example: computer is a target, and also by the computer hard drive, CPU, memory, video card, etc..
"Properties" (Property) is used to describe the characteristics of objects, for instance, is a target computer, and computer class, the manufacturer, can be used to describe the characteristics of the computer called on the properties of the computer, for instance, is Response ASP a built-in objects, and it has a IsClientConnected attributes can be used to describe the browser and the server is still connected. access to the properties of objects can be written ObjectName.Property, such as: Response.IsClientConncetion.
"Method" (Method) is used to implement targeted action, for example, the computer is an object, and boot, shutdown, the implementation of applications, such as scanning hard drives for this operation is targeting methods and, for instance, is the Response built-in objects, and it has a method called Write, can be displayed in the browser-specific information. access to the method of object can be written ObjectName.Method, such as Response.Write.
"Pools" (Collection) refers to a group put together the "values" (Value), such an interpretation too abstract, we have to give an example, when Web surfers enter data form and press the "Submit" button, the window in the name of the browser field, the data is input to the form of a Form Set pass WEB server. for example, in the ASP Object QueryString collection, or if the username field userage field value can be written respectively Resquest.QueryString ( "username") and Resquest.QueryString ( "userage")
"Event" (Event), in certain specific circumstances in your warning signal, for instance, suppose you have a car, when you launch vehicle door is not related to good, sound car will be issued a warning you that this is a incident. also, for instance, ASP session is a built-in objects, and its activation or end users of the browser, and will be produced Session_Onstart Session_Onend incident.
Tags: ASP








0 Comments to “ASP understanding of the built-in objects”
No Comments. Send your comment.
Leave a Reply
You must be logged in to post a comment.