1. get是从服务器上获取数据,post是向服务器传送数据。
2. get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段一一对应,在URL中可以看到。post是通过HTTP post机制,将表单内各个字段与其内容放置在HTML HEADER内一起传送到ACTION属性所指的URL地址。用户看不到这个过程。
3. 对于get方式,服务器端用Request.QueryString获取变量的值,对于post方式,服务器端用Request.Form获取提交的数据。
4. get传送的数据量较小,不能大于2KB。post传送的数据量较大,一般被默认为不受限制。但理论上,IIS4中最大量为80KB,IIS5中为100KB。
5. get安全性非常低,post安全性较高。但是执行效率却比Post方法好。
建议:
1、get方式的安全性较Post方式要差些,包含机密信息的话,建议用Post数据提交方式;
2、在做数据查询时,建议用Get方式;而在做数据添加、修改或删除时,建议用Post方式;
- 浏览: 26483 次
- 性别:
- 来自: 上海
相关推荐
Using Delphi is all about development speed and the IDE Fix Pack accelerates the IDE so you can get your project done faster and with less IDE problems. As soon as I installed it I noticed a ...
- "the difference between A and B"表示A和B之间的差异,"What’s the difference between British English and American English?" 16. **There be句型**: - "Are there any books in the desk?"是一般现在时...
2. **序数词与日常表达**:`fifth`(第五)用于表示顺序,`remember`(记住)、`find`(找到)、`difference`(不同)、`same`(一样的)、`every`(每个,所有的)是日常生活和对话中常用的词汇。 3. **其他词汇**...
You can switch to the SortedDictionary in the code at any time if you wish and it makes no difference to the overall code other than you can remove the sorting in the page splits. I also tried an ...
另外,还有一些日常用词,如fifth(第五)、remember(记住)、find(找到)、difference(不同)、same(一样的)和every(每个,所有的)。 三会词汇则涉及到更复杂的概念,例如country(国家)、mean(意思是)...
type: 'POST', data: {date1: date1, date2: date2}, success: function(response) { var differenceInDays = response.days; // 更新界面展示差异天数 $('#difference').text(differenceInDays); } }); ``` ...
POP stands for Post Office Protocol. Currently in version 3, also known as POP3, RFC 1939 defines this protocol. POP is the mechanism most people on the Internet use to get their mail. It defines ...
5. **网络请求**:封装了HTTP请求,如`get_url_content()`,`post_data()`。 6. **常用算法**:如排序、搜索等,`bubble_sort()`,`binary_search()`。 7. **日志记录**:提供简单易用的日志记录功能,便于调试和...
14.1.3. 使用静态 get() 方法 14.2. 标准过滤器类 14.2.1. Alnum 14.2.2. Alpha 14.2.3. BaseName 14.2.4. Digits 14.2.5. Dir 14.2.6. HtmlEntities 14.2.7. Int 14.2.8. RealPath 14.2.9. StringToLower...
关于雷达方面的知识! EFFECTIVENESS OF EXTRACTING WATER SURFACE SLOPES FROM LIDAR DATA WITHIN THE ACTIVE CHANNEL: SANDY RIVER, OREGON, USA by JOHN THOMAS ENGLISH A THESIS Presented to the Department ...
- **发送 GET, POST 请求**:通过 get() 和 post() 方法发送请求。 - **服务器编程** - **使用 Flask 或 Django**:Flask 是一个轻量级框架,Django 是一个全功能框架。 - **创建简单的 Web 应用**:定义路由、...
- **字典操作**:包括`get`、`setdefault`、`keys`、`values`等方法,以及`in`关键字用于检查键是否存在。 #### 五、元组(tuple) - **元组概述**:元组与列表类似,但元素不可更改,适用于不需要修改的数据集合。 ...
- `difference`:计算两个图像之间的差异。 - `multiply`:将两个图像相乘。 - `screen`:计算两个图像的屏幕融合效果。 - `add`:将两个图像相加。 - `subtract`:从一个图像中减去另一个图像。 - `blend`:...
When you use the sqlite3 module, the database connection details are slightly different from the ones you would use to connect to other database systems like MySQL, Post‐ greSQL, and Oracle....
double System::EucNorm(int p, int c){ // Calc Euclidean norm of vector difference double dist,x; // between pattern vector, p, and cluster int i; // center, c. char zout[128]; char znum[40]; char...
7.28 Difference between operator precedence in assembly language and C 8 VFP Programming 8.1 Architecture support for VFP 8.2 Half-precision extension for VFP 8.3 Fused Multiply-Add extension for VFP ...
Correct use of header files can make a huge difference to the readability, size and performance of your code. The following rules will guide you through the various pitfalls of using header files. ...
Even if you never implement a system with Struts, you may get some ideas for your future servlets and JSP page implementation. Introduction Kids in grade school put ...
6.1.10 The Difference Between Algorithm and Implementation . . 70 6.2 Using Profiling Tools . . . . . . . . . . . . 72 6.2.1 Do Not Write Your Own Profiler . . . . . . . 72 6.2.2 How Profilers Work . ...
There is no difference. Throughout this text, the words “host” and “end system” are used interchangeably. End systems include PCs, workstations, Web servers, mail servers, PDAs, Internet-...