zoukankan      html  css  js  c++  java
  • web.config文件

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <appSettings>
     <add key="SMS_UploadFiles_Path" value="E:\SMS_UploadFiles\" />
     <add key="ConnectionString" value="Provider=SQLOLEDB.1;Persist Security Info=False;User ID=wxoa;pwd=jroa123;Initial Catalog=WxOA;Data Source=ServerDB;Connect Timeout=30" />
      <add key="ConnnectionString" value="server=BOBO\PLAYBOY;database=ITExplorer;User id=sa;Pwd=sa"></add>
      </appSettings>
      <system.web>
     <httpHandlers>
      <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />
      </httpHandlers>

      <compilation defaultLanguage="vb" debug="true" />
     <customErrors mode="RemoteOnly" defaultRedirect="error.aspx" />

     <authentication mode="Forms">
      <forms name="Debug" loginUrl="login.aspx" protection="All" timeout="30" path="/" />
     </authentication>

     <authorization>
              <deny users="?" />
     </authorization>

     <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
     <sessionState
                mode="InProc"
                stateConnectionString="tcpip=127.0.0.1:42424"
                sqlConnectionString="data source=127.0.0.1;user id=sa;password="
                cookieless="false"
                timeout="20"
        />
      <globalization requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" fileEncoding="gb2312" />

         <httpRuntime executionTimeout="300" maxRequestLength="30960" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
     
     <pages buffer="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" autoEventWireup="true" validateRequest="false" />
      </system.web>

     <location path="ValidateCode.aspx">
      <system.web>
       <authorization>
        <allow users="*" />
       </authorization>
      </system.web>
     </location>
     
      <location path="error.aspx">
      <system.web>
       <authorization>
        <allow users="*" />
       </authorization>
      </system.web>
     </location>
    </configuration>

  • 相关阅读:
    mysql 大数据提取
    Python 爬虫实例(11)—— 爬虫 苏宁易购
    Python 爬虫实例(10)—— 四行代码实现刷 博客园 阅读数量
    Python MySQLdb 批量插入 封装
    Python MySQLdb insert(插入) 封装
    Python MySQLdb select(选择) 封装
    iOS开发-iPad侧边栏Tab选项卡切换
    iOS开发-xCode6(iOS 8)中应用程序图标和启动页面设置
    iOS开发-CoreMotion框架(加速计和陀螺仪)
    iOS开发-JSON解析
  • 原文地址:https://www.cnblogs.com/RobotTech/p/526244.html
Copyright © 2011-2022 走看看