Web.config
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:1k
- <?xml version="1.0" encoding="gb2312"?>
- <configuration>
- <appSettings>
- <!--此处设置数据库连接字符串-->
- <add key="ConnectionString" value="server=localhost;database=hotop100;User ID=sa;password="/>
- </appSettings>
- <system.web>
-
- <authentication mode="Forms">
- <forms name="hotop100" loginUrl="Login.aspx">
- </forms>
- </authentication>
- <!--
- <customErrors defaultRedirect="errorpage.htm" mode="On">
- <error statusCode="404" redirect="error404.aspx"/>
- </customErrors>
- -->
- <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"/>
- <globalization requestEncoding="gb2312" responseEncoding="gb2312"/>
-
- </system.web>
- </configuration>