Set global maxRequestLength value in web.config- for all pages
Posted
by Albert
on Stack Overflow
See other posts from Stack Overflow
or by Albert
Published on 2010-06-02T18:40:57Z
Indexed on
2010/06/02
18:44 UTC
Read the original article
Hit count: 180
I currently have my web.config location section set up like this
<location path="page1.aspx">
<system.web>
<httpRuntime maxRequestLength="65536" executionTimeout="3600"/>
</system.web>
</location>
<location path="page2.aspx">
<system.web>
<httpRuntime maxRequestLength="65536" executionTimeout="3600"/>
</system.web>
</location>
etc
with one entry for each page.
How can I set the maxRequestLength for all pages, instead of one at a time?
© Stack Overflow or respective owner