Click here to Skip to main content
11,811,971 members (73,867 online)
Click here to Skip to main content

Max Query String Length in URL - 4.0

, 27 May 2010 CPOL 32.2K 4
Rate this:
Please Sign up or sign in to vote.
We can now set the URL querystring length in
We can now change querystring length for server side request using following tag in web.config file.

<httpRuntime maxQueryStringLength="260" maxRequestLength="2048"/>


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

santosh poojari
Technical Lead
India India
Whatsup-->Exploring--> MVC/HTML5/Javascript & Virtualization.......!

You may also be interested in...

Comments and Discussions

QuestionWhat is the maximum Query string length can be set in config file Pin
raksha.dokania9-May-12 20:10
memberraksha.dokania9-May-12 20:10 
Generalplease can you tell me where exactly in the web.config file?... Pin
jad052118-Sep-11 5:34
memberjad052118-Sep-11 5:34 
please can you tell me where exactly in the web.config file? i get a runtime error when i added that tag between and either just after or just before
it says : Unrecognized configuration section httpRuntime
QuestionOK but where shoud I insert this tag? Pin
ferfr21-Jun-11 8:03
memberferfr21-Jun-11 8:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151002.1 | Last Updated 28 May 2010
Article Copyright 2010 by santosh poojari
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid