Reputation: 5630
I'm using HTTP requests in my program to pass data via a querystring to a web-based status page. The requests are of the form:
http://www.example.com/poststatus.asp?ID="FRED"&widgetscompleted=1234&...parameterN=valueN
The ASP page parses the querystring and updates a database.
My question is: what is the sensible length limit of the querystring? I've seen mention of 2000-odd bytes but that seems to be browser-related and there is no browser involved here - just my app (using Indy) and IIS.
Upvotes: 1
Views: 7610
Reputation: 11
With the limitation on characters, what i usually do is minimize the querystring values from your example: &widgetscompleted= could be abreviated to &wc=.
I am certain if you minimize these, the length shouldn't be an issue.
Upvotes: 1