Jun 23
I was trying to submit a page which had 15-20 input fields. Initially it worked fine on both firefox and IE6. When I added couple of more rows to the page IE6 started saying Invalid Syntax Error which looks really strange. After trying couple of changes to the page I realized that the IE6 has some limit for the data that you post using GET method and it says “Invalid Syntax Error” when you exceed the data limit for GET. Simple solution : use POST method ![]()
July 12th, 2009 at 2:14 pm
Get has a 4 kb size cap on the data which gets passed in http get request, u get this exception once you exceed that.
TC
July 12th, 2009 at 2:18 pm
For GET –
The spec for URL length does not dictate a minimum or maximum URL length, but implementation varies by browser. On Windows: Opera supports ~4050 characters, IE 4.0+ supports exactly 2083 characters, Netscape 3 -> 4.78 support up to 8192 characters before causing errors on shut-down, and Netscape 6 supports ~2000 before causing errors on start-up.
Note that there is no limit on the number of parameters you can stuff into a URL, but only on the length it can aggregate to.
For POST —
The limit on POST size, by default, is 2 MB on IIS 4.0 and 128 KB on IIS 5.0, WAS 2 MB works fine.
July 12th, 2009 at 2:19 pm
Also for cookies u have
Microsoft Internet Explorer complies with the following RFC 2109 recommended minimum limitations:
at least 300 cookies
at least 4096 bytes per cookie (as measured by the size of the characters that comprise the cookie non-terminal in the syntax description of the Set-Cookie header)
at least 20 cookies per unique host or domain name