The difference between request.querystring, request.form and session
1. Request.querystring is used to receive the question mark inside the address "?" The contents of the following parameters are not safe to read with the get method.
Request.form is used to receive the data submitted by the form, is to use the post method to read the method in the form form to see if you are get or post, usually post is used in form.
Session saves data throughout a session until the browser closes and the data disappears. Define session ["Name"] = Li Si form
2. There are five collections of request objects, which are described below:
QueryString: used to get the information in the query string attached to the url address of the client.
For example: stra=Request.QueryString ["strUserld"]
Form: used to get the information entered by the client in the FORM form. (the value of the method attribute of the form needs to be POST)
For example: stra=Request.Form ["strUserld"]
Cookies: used to obtain the Cookie information of the client.
For example: stra=Request.Cookies ["strUserld"]
ServerVariables: used to obtain the header information and server-side environment variable information in the HTTP request information issued by the client.
For example: stra=Request.ServerVariables ["REMOTE_ADDR"], return the client IP address
ClientCertificate: used to obtain authentication information of the client
For example: stra=Request.ClientCertificate ["VALIDFORM"] returns a valid start date for sites that require security authentication.