Solved

Query string

Posted on 2011-09-18
5
340 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now