在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
a. The data in "GET" is encolosed in the "QUERY-STRING " environment variable , and then it is send to server as part of the whole URL, so the "GET" data will be unsafely exposed in the browser's URL address zone insecurely. b. The storage space of "QUERY-STRING" variable is limited, which means that some data will be lost if the data is too large. 2. "POST" is used to post data to server, the data is contained in the content of HTTP REQUEST whie "GET" transmit it's variables in the head of HTTP REQUEST. With "POST", we can post as much data to server as we want. ps: 1. If the action address of "GET" is self page, the server will treat it as a new Page, the page's viewsate will be lost. By contraries,if we "POST" the self page, the page's viewsate will still exist. 2. When we upload some pictures to server, we should use "POST", and the "enctype", a attribute of the form, the MIME encode, must be set as " ENCTYPE="multipart/form-data" ", while default setting is "ENCTYPE=application/x-www-form-urlencoded", then the input data of form use binary transfers. 3. Instead of "Request.QueryString[]" when we want to get the data of "GET" , we use "Request.Form[]" to get the data of "POST". 4. For more infomation about "GET" and "POST", please see http://www.cs.tut.fi/~jkorpela/forms/methods.html |
请发表评论