1. Get is to get data from the server, and post is to send data to the server. 2. get is to add the parameter data queue to the URL pointed to by the ACTION attribute of the submitted form, and the values correspond to each field in the form, which can be seen in the URL. post is the HTTP post mechanism to place each field in the form and its content in the HTML HEADER to the URL address indicated by the ACTION attribute. Users don't see the process. 3. For the get method, the server side uses Request.QueryString to obtain the value of the variable, and for the post method, the server side uses Request.Form to obtain the submitted data. 4. The amount of data sent by get is small, and cannot be greater than 2KB. The amount of data transmitted by post is large, and it is generally defaulted to unlimited. But theoretically, the largest amount in IIS4 is 80KB, and in IIS5 it is 100KB. 5. Get security is very low, post security is high. But the execution efficiency is better than the Post method.
Recommendations: 1. The security of the get method is worse than that of the Post method, if it contains confidential information, it is recommended to use the Post data submission method; 2. When doing data query, it is recommended to use the Get method; When adding, modifying or deleting data, it is recommended to use the Post method; |