REQUEST object

xiaoxiao2021-03-06  114

The Request object acquires the client's information. If you access any information delivered with HTTP, including parameters, cookie, user authentication, etc. with Post methods or get methods.

Collection Client Certificate (KEY) Gets the Value of the HTTP Request Customer Certified Value Cookies (key) You can get the value of the cookies for sending an HTTP request for Form acquires the value of the form of the table single field query QueryString Query HTTP request string The value of the variable, the string is specified by the value of the question mark. Specify the value of the ServerVariables to obtain the value method in the server environment variable. Form Syntax: Request.form (ELEX) | .count] Available as: request.form (parameter) ELEMENT Specifies a collection of form elements to be retrieved Index to access multiple parameters One of the values. Can be any integer between 1 to Request.form (Parameter) .count. It is the number of elements in the optional parameter count collection. It is an optional parameter 2, QueryString Syntax: Request.QueryString (variable) [(index) | .count] can be referred to as: request.QueryString Similar to the form set, querystring collection can read the Variables in the HTTP query string The value, the HTTP query string is specified by the variable value after the question mark 3. ServerVariables syntax: Request.serVariables (Server Environment Variable) can be referred to as: Request.SerVariables (environment variable) Environment variable function brief description Server_name URL server host Name, DNS pseudonym or IP address server_port Send a port number request_method for request. Equivalent to the version_HOST of the Request request for HTTP, the Name Remote_ADDR issues the Request request for the remote host (Client) of the Request request, the version of the content_enstene client, the MIME type of the contents of content_type data, Such as: "text / html" local_addr Returns the server address of the accept request HTTP_ACCEPT Client (Client) Acceptable MIME Type List HTTP_USER_AGENT Client (Client) Send a Request's Browser Type 4, Cookies Syntax: Request.Cookies (cookie) [ (Key) | .attribute] You can book as: request.cookies (parameters) Function Textplay Cookie Specifies the Cookie Key to retrieve its value to retrieve the value of the sub-key from the cookie dictionary. It is an optional parameter attrib to specify information about cookie itself, such as: Haskeys is read-only, specifying whether cookies contain keywords 5, ClientCertificate

转载请注明原文地址:https://www.9cbs.com/read-105177.html

New Post(0)