Click here to Skip to main content
15,881,204 members
Articles / Web Development / ASP.NET
Tip/Trick

Max Query String Length in URL - ASP.net 4.0

Rate me:
Please Sign up or sign in to vote.
4.25/5 (4 votes)
27 May 2010CPOL 48.3K   4   3
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)


Written By
Technical Lead
Australia Australia
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 Pin
raksha.dokania9-May-12 20:10
raksha.dokania9-May-12 20:10 

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

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