Solved

Query string

Posted on 2011-09-18
5
342 Views
Last Modified: 2012-06-27
For Firefox, is there a limit on the length of the value of a query string parameter?
0
Comment
Question by:dshrenik
5 Comments
 

Author Comment

by:dshrenik
ID: 36555695
More specifically, I am talking about an ASP.NET website running on IIS.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 167 total points
ID: 36555727
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
 
LVL 63

Assisted Solution

by:Zvonko
Zvonko earned 167 total points
ID: 36556381
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
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36556963
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
 
LVL 4

Assisted Solution

by:Pacemaker9007
Pacemaker9007 earned 166 total points
ID: 36558877
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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question