What is the character limit for a URL, especially if the URL is formed from a GET method of a form.
There's no published maximum, but the effective limit is around 2,000 characters because that's what Internet Explorer (version 4 and above) supports. See http://www.boutell.com/newfaq/misc/urllength.html
According to Microsfot it's 2048. Since they invented the web (and also the light, the darkness and Linux) they are right. :-) .... or.. and since IE forces this lower value, it's the lowest common denominator.
http://support.microsoft.com/kb/208427
Under Firefox, I see people on the net reporting URLs of 0xFFFF working: http://forums.mozillazine.org/viewtopic.php?f=38&t=155648&start=0&st=0&sk=t&sd=a
Here is another post which talks about this: http://hiox.org/index.php?id=425
Hi, I faced a similar problem wherein i am sending a lot of data in URL exceeding the limit of 2048. How can i make sure that i send the entire data in URL without getting that truncated? Cheers...
Different browsers have different limits. But generally the limit is around 2,000 characters for the GET method of a URL. You can use a proxy page that does a POST method (if your API supports it) and that has a larger limit of 5,000 characters. We are currently investigating using a proxy page with the Google Map API as we have crashed into the 2,000 character limit.