欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Asp.Net修改上傳文件大小限制方法

 更新時(shí)間:2016年12月09日 12:55:44   作者:扯  
本文主要分享了Asp.Net修改上傳文件大小限制的方法--修改web.config,需要的朋友可以看下

話不多說,隨小編一起看看下面代碼吧

i. Configuration節(jié)點(diǎn)下

 <system.webServer>
  <security>
   <requestFiltering>
    <!--單位為字節(jié) maxAllowedContentLength-->
    <requestLimits maxAllowedContentLength="2097151000"/>
   </requestFiltering>
  </security>
 </system.webServer>

ii. System.web下修改節(jié)點(diǎn)HttpRuntime為

    <!--單位為KB maxRequestLength-->
 <httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true" />

以上就是本文的全部?jī)?nèi)容,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作能帶來一定的幫助,同時(shí)也希望多多支持腳本之家!

相關(guān)文章

最新評(píng)論