Query string

For Firefox, is there a limit on the length of the value of a query string parameter?
dshrenikAsked:
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
0
 
dshrenikAuthor Commented:
More specifically, I am talking about an ASP.NET website running on IIS.
0
 
ZvonkoConnect With a Mentor Systems architectCommented:
Do you really want to make it incompatible to IE:
http://support.microsoft.com/kb/q208427/

As long as I know was the URL length 2K.
Put your parameters into hidden fields and that is it.
0
 
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".
0
 
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.
0
All Courses

From novice to tech pro — start learning today.