Query string

For Firefox, is there a limit on the length of the value of a query string parameter?
Who is Participating?
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
There doesn't appear to be a limit in Firefox, one site said 6000 characters, but ASP.NET / IIS has a limit of about 16000 characters for the whole URL including query string.  http://forums.iis.net/p/1180111/1989731.aspx
dshrenikAuthor Commented:
More specifically, I am talking about an ASP.NET website running on IIS.
ZvonkoConnect With a Mentor Systems architectCommented:
Do you really want to make it incompatible to IE:

As long as I know was the URL length 2K.
Put your parameters into hidden fields and that is it.
Dave BaldwinFixer of ProblemsCommented:
If you have a <form> that uses GET to put the info in the URL, it will also include any 'hidden' fields... so they won't be hidden for long.  The only reason for using 'hidden' fields is so that they don't get displayed.  They are clearly visible in the "View Source".
Pacemaker9007Connect With a Mentor Commented:
I believe there are 2 limits you will be facing, one is FF, which is 8192 characters, and the second is IIS, which can be changed, however, see here http://learn.iis.net/page.aspx/143/use-request-filtering/. The limit in IE is 2048.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.