What is the maximum length of a URL?
Posted by Raj
What is the maximum length of a URL?
Microsoft states that the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL
If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.
However, the POST method is not limited by the size of the URL for submitting name/value pairs.
Maximum length depends on browsers.Firefox, Safari , Opera supports more than 100,000 characters. but some times server like Apache, IIS may not support these longer URL’s. so better to keep it short URL.
Microsoft states that the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL
If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.
However, the POST method is not limited by the size of the URL for submitting name/value pairs.
Maximum length depends on browsers.Firefox, Safari , Opera supports more than 100,000 characters. but some times server like Apache, IIS may not support these longer URL’s. so better to keep it short URL.
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
Firefox,
GET method url length,
maximum length of a URL,
Opera,
PHP interview questions and answers,
Safari,
URL length
.You can leave a response, or trackback from your own site.