The
maximum length of the string that can be passed by the Get method. I've heard someone tell you that if you use get to transfer parameters, the maximum length of the URL is 256 bytes, and you're convinced.
But lately I've seen some very long URLs, can work under IE, copied down to calculate the length, is about 650 bytes, this length is far more than 256 bytes. There is some doubt about the previous statement--with the major search engines, and finally find the most authoritative explanation--
Maximum URL length is 2,083 characters in Internet Explorer.
Yes, ie url maximum length is 2,083 bytes, can be used for get pass data is 2048 bytes in length, this number is not small, far more than 256 of this once considered the most correct number.
In addition, the data passed by the Post method is not affected by this length, and its value is transmitted through the browser header instead of the URL.
After the actual test
The total length of the URL address under IE8 is: 4076, exceeding the length will automatically ignore the following content;
The total length of the URL address under Firefox 25 can be reached: 7530, exceeding the length will access the error ;
The maximum total length of the chrome 29.0.1547.62 is: 7675, exceeding the length will access the error ;
Thus, in the previous browser, perhaps the maximum length of the URL is 256 is possible (now can not find IE6 or previous version to test),