This article is Not Ready.
Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.
Needs Examples: This section should include examples.
When the user enters information in a form and clicks the submit button, there are two ways the information can be sent from the browser to the server: as part of the URL, or within the body of the HTTP request. The GET method appends name/value pairs to the URL. The amount of data that can be sent is limited by the maximum length of a URL, which is 2048 bytes. The URL could be truncated if the form uses a large number of parameters, or if the parameters contain large amounts of data. Parameters passed on the URL are visible in the address field of the browser. This POST method packages the name/value pairs inside the body of the HTTP request. When using the POST method, there is no theoretical limit to the amount of data that can be sent to the server. Because the parameters are not appended to the URL, this method is slightly more secure.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 17.3
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Feature||Android||BlackBerry||Chrome for mobile||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Opera Mini||Safari Mobile|
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]