#The function of the Request object is to interact with the client, collect the client's Form, Cookies, hyperlinks, or collect the server-side environment variables.
The request object is a request sent from the client to the server, including information submitted by the user and some information from the client. (Recommended learning: phpstorm)
The client can submit data through HTML forms or by providing parameters after the web page address, and then the server obtains these through the relevant methods of the request object. data. The various methods of request are mainly used to process various parameters and options in the request submitted by the client browser.
The Request object, also known as the request object, is derived from the HTTPResponse class and is an important server built-in object in ASP. It connects the Web server and Web client programs.
This object is used to obtain all the information provided by the client when requesting a page or transmitting a Form, including HTTP variables that can identify the browser and user, cookie information stored on the client, and information attached to the URL. Value, query string or value in the HTML control of the Form section in the page, cookie, client certificate, query string, etc.
Such as browser and user variables, data, variables in client forms, or client cookie information, etc. The classes corresponding to the Request object are System, Web, and HttpRequest classes.
Attributes of the Request object
The only attribute of the Request object is TotalBytes, which provides information about the number of bytes requested by the user: Returns the request information issued by the client number of bytes. In use, the value of each request information of the client is usually focused on rather than the entire request string, so this attribute is rarely used in ASP pages.
Methods of the Request object
The only method of the Request object is BinaryRead, which allows access to the complete request information passed to the server from the user page's