[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

Query string

For Firefox, is there a limit on the length of the value of a query string parameter?
0
dshrenik
Asked:
dshrenik
3 Solutions
 
dshrenikAuthor Commented:
More specifically, I am talking about an ASP.NET website running on IIS.
0
 
Dave BaldwinFixer 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
 
ZvonkoSystems 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
 
Pacemaker9007Commented:
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now