We help IT Professionals succeed at work.

The length of parameters string

seasons712
seasons712 asked
on
Dear All,

I would like to know how long about the maximum length of parameters string in URL?  The string is the URL which is the part after the character '?'.  For example:

http://www.abc.com?a=1&b=2&c=3

I want to know the maximum length of string after
"www.abc.com?".

Many thanks,
Seasons
Comment
Watch Question

Commented:
The maximum length of the url is 1024 characters.

CJ

Commented:
For passing parameters you'd better use the method=post of a form since that won't use the querystring.

CJ

Author

Commented:
Hi CJ,

Does the length of the URL include the part of URL before '?' character or the whole string of URL..?

Many Thanks.

Seasons
Commented:

Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters, with a maximum path length of 2,048 characters. This limit applies to both POST and GET request URLs.

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, of course).

excerpt from,
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208427

Author

Commented:
Thank you very much.

Commented:

;)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.