Solved

Query string

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
disclaimer when opening internet 2 39
Where is java script information saved? 2 54
Enterprise Mode 4 30
Grunt script for Build Process 1 29
I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
Several part series to implement Internet Explorer 11 Enterprise Mode
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.

831 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