Freigeben über


What is the difference between maxQueryString and maxUrl?

I'm re-BLOGing these IIS 7 settings because someone recently asked this question of me.  The original information was pulled from Rakki Muthukumar's BLOG.

maxURL

The length of the URL would constitute just the length of the URL (/results.aspx) - including 1 for the / and not the length of the query strings. So, if you browse to https://www.bing.com/results.aspx, then the length of this URL would be 13.  If you exceed the setting, you will receive the following error:

404.14 - URL too long

maxQueryString

The length of the query string is the length of the query strings, their values and also the delimiters (& and =) . The ? in the front is not countedfor this.  If you exceed the setting, you will receive the following error:

404.15 - QueryString too long