Gets a collection of Web server variables. Gets or sets the HTTP data transfer method (GET or POST) used by the client. Gets the collection of HTTP query string variables. Gets a value indicating whether the HTTP connection uses secure sockets (that is, HTTPS). ![]() Gets the contents of the incoming HTTP entity body. Gets the HTTP data transfer method (such as GET, POST, or HEAD) used by the client. Gets the collection of files uploaded by the client, in multipart MIME format. Gets the virtual path of the current request. Gets a collection of cookies sent by the client. Gets or sets the MIME content type of the incoming request. Specifies the length, in bytes, of content sent by the client. ![]() Gets or sets the character set of the entity-body. Gets or sets information about the requesting client's browser capabilities. Gets the ASP.NET application's virtual application root path on the server. Gets a string array of client-supported MIME accept types. The following table provides some noteworthy properties of the Request object: Property Properties and Methods of the Request Object However, this object helps in checking some information such as the client browser and cookies. The information presented by this object is wrapped by the higher level abstractions (the web control model). It represents the values and properties of the HTTP request that makes the page loading into the browser. The request object is an instance of the class. Transfers execution to another web page in the current application. Return the physical path that corresponds to a specified virtual file path on the server. Works same as UrlDecode, but on a byte array that contains Base64-encoded data. Works same as UrlEncode, but on a byte array that contains Base64-encoded data. Returns a String that represents the current Object.įor the current request, terminates execution of the current page and starts execution of a new page by using the specified URL path of the page.Ĭonverts an URL string into an ordinary string. The following table provides a list of some important methods: MethodĬreates an instance of the COM object identified by its ProgID (Programmatic ID).Ĭreates an instance of the COM object identified by its Type.ĭetermines whether the specified Object is equal to the current Object.Įxecutes the handler for the specified virtual path in the context of the current request.Įxecutes the handler for the specified virtual path in the context of the current request and specifies whether to clear the QueryString and Form collections.Ĭhanges an ordinary string into a string with legal HTML characters.Ĭonverts an Html string into an ordinary string. Gets and sets the request time-out value in seconds. The following table provides a list of the properties: Property The methods and properties of the HttpServerUtility class are exposed through the intrinsic Server object provided by ASP.NET. Properties and Methods of the Server object The HttpServerUtility class provides numerous properties and methods to perform various jobs. The Server object in Asp.NET is an instance of the class. In this tutorial we will explore the Server object, the Request object, and the Response object. We will discuss each of these objects in due time. ![]() The page class has the following extremely useful properties that correspond to intrinsic objects: All web forms are basically instances of the ASP.NET Page class. ![]() The page itself is instantiated as a control object. We have studied the page life cycle and how a page contains various controls.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |