Web.config
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:1k
源码类别:

.net编程

开发平台:

Others

  1. <?xml version="1.0" encoding="gb2312"?>
  2. <configuration>
  3.     <appSettings>
  4. <!--此处设置数据库连接字符串-->
  5. <add key="ConnectionString" value="server=localhost;database=hotop100;User ID=sa;password="/>
  6.     </appSettings>
  7.   <system.web>
  8.     
  9. <authentication mode="Forms">              
  10.     <forms name="hotop100" loginUrl="Login.aspx"> 
  11. </forms>
  12. </authentication>
  13.   <!--
  14. <customErrors defaultRedirect="errorpage.htm" mode="On">
  15. <error statusCode="404" redirect="error404.aspx"/>   
  16. </customErrors>
  17. -->
  18.     <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="120"/>
  19.     <globalization requestEncoding="gb2312" responseEncoding="gb2312"/>
  20.      
  21.  </system.web>
  22. </configuration>