Click here to Skip to main content
Click here to Skip to main content

Tagged as

Max Query String Length in URL - ASP.net 4.0

, 28 May 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
We can now set the URL querystring length in asp.net
We can now change querystring length for server side request using following tag in web.config file.
 
<httpRuntime maxQueryStringLength="260" maxRequestLength="2048"/>

License

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

Share

About the Author

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

Comments and Discussions

 
QuestionWhat is the maximum Query string length can be set in config file Pinmemberraksha.dokania9-May-12 21:10 
Hi,
 
I added this in web config. Upto some extend, it is working fine. Actually i need more than 12000 character.
 
I dont know if this is the best solution to use query string. I am using ajax call. So dont know what all can be the other solution.
 
PLease let me know if there is any other way to pass my data to server side using ajax call.
Generalplease can you tell me where exactly in the web.config file?... Pinmemberjad052118-Sep-11 6:34 
QuestionOK but where shoud I insert this tag? Pinmemberferfr21-Jun-11 9: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.141216.1 | Last Updated 28 May 2010
Article Copyright 2010 by santosh poojari
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid