473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Maximum size of POST data?

What is the maximum size of POST data? A page on the ASP FAQ web site
(http://classicasp.aspfaq.com/forms/w...arameters.html)
is confusing me:

"While GET is limited to as low as 1024 characters, POST data is
limited to 2 MB on IIS 4.0, and 128 KB on IIS 5.0. Each name/value is
limited to 1024 characters, as imposed by the SGML spec."

Does this last sentence mean that no form field can submit more than
1024 (or 1024 minus the length of the form field name) characters
through POST?

Brian

Sep 28 '06 #1
2 22544
br**********@gmail.com wrote:
"While GET is limited to as low as 1024 characters, POST data is
limited to 2 MB on IIS 4.0, and 128 KB on IIS 5.0. Each name/value is
limited to 1024 characters, as imposed by the SGML spec."

Does this last sentence mean that no form field can submit more than
1024 (or 1024 minus the length of the form field name) characters
through POST?
I think the article is worded incorrectly. It even refers to an MSDN article
that directly rebuts it:

Details of the Request Structure
The data limited by MaxClientRequestBuffer (the response line
and headers), consists of all data from the first byte of the
request through the last byte before the entity body. This
includes the method, the URL, any additional path information,
the query string, the HTTP version, all the headers, and the
characters that delimit all parts of the request. In other
words, this includes all data that is not part of the
request's entity body.

Use POST Instead of GET to Send Large Amounts of Data in Request
GET requests use the URL portion of the request line to send
information to IIS. The POST method, however, sends the
information in the request's entity body instead. Therefore,
you should consider using the POST method to send a large
amount of data in the request.

http://support.microsoft.com/default.aspx/kb/260694

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Sep 28 '06 #2
br**********@gmail.com wrote:
>What is the maximum size of POST data? A page on the ASP FAQ web site
(http://classicasp.aspfaq.com/forms/w...arameters.html)
is confusing me:

"While GET is limited to as low as 1024 characters, POST data is
limited to 2 MB on IIS 4.0, and 128 KB on IIS 5.0. Each name/value is
limited to 1024 characters, as imposed by the SGML spec."

Does this last sentence mean that no form field can submit more than
1024 (or 1024 minus the length of the form field name) characters
through POST?
That can't possible be true. You use POST to upload entire files, in
which case the size of the request can be many megabytes.

The first paragraph of that article says this:

<quote>
Unlike QueryString data, POSTed form data has a very high number of
allotted characters. This is because the data is transferred in the
headers and not in the URL.
</quote>

This is garbage. Data in a POST request is sent in the body of the
request *AFTER THE HEADERS*, that's why huge amounts of data can be
stuffed in there. I wouldn't put a whole lot of trust in this FAQ
site.

--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov
Sep 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: chotiwallah | last post by:
there seems to be a maximum size (in px) for images created with imagecreatetruecolor (somewhere between 4000 px and 4500 px). if the image is bigger than that size, the browser doesn't display it...
11
by: eggie2486 | last post by:
What is the maximum size of an array? I tried to edit an extremely large array for a magic square, for example, array, and when I ran the program, it would not display the array. I changed the...
2
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
1
by: Vishy | last post by:
Hi All, Does naybody have an idea of whats the maxmimum size of a DataSet ca be? What's the maximum tables that a DataSet can hold on? Thanking you in anticipation of an early reply, Best...
6
by: Divick | last post by:
Hi all, how can I figure out what is the maximum size of data that can be allocated in static area on a particular architecture. I am using g++ on 64 bit Intel architecture and when I create a...
7
by: tomlebold | last post by:
The file size of the Access application I'm currently working on is 77,000 MB. What is the maximum size the Access file or MDB can be?
2
by: Woody Ling | last post by:
I am now using db2 v8.2 64bits without DPF. I want to create a very large table which is about 1000G and the record length is suitable for 32K page size. I find in the manual that the maximum size...
3
by: skyy | last post by:
Hi.. what is the maximum size of an array and variable? With the following declaration: my $size; my @rx_array; what is the maximum number that $size can hold? what is the maximum number...
5
by: osman7king | last post by:
when I deal with a big data which is of text data-type the insert and update statments done successfully. After that, I tried to retrive this data which about (2.9)Mega-Byte, but the query...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.