数据库连接:
<connectionStrings>
<add name="SQLConnectionStrings" connectionString="Data Source=localhost;User Id=ita;Password=ita;"/>
<add name="ACCESSConnectionStrings" providerName="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=App_Data/db.mdb"/>
</connectionStrings>
Session生命周期:
<system.web>
<sessionState mode="InProc" timeout="10"></sessionState>
</system.web>
上传文件大小与时间:
<system.web>
<customErrors defaultRedirect="error.aspx" mode="On"></customErrors>
</system.web>
默认连接错误页:
<system.web>
<httpRuntime maxRequestLength="2048" executionTimeout="100"/>
</system.web>
添加系统常量:
<appSettings>
<add key="SMTPServerName" value="127.0.0.1"/>
<add key="FromEmailAddress" value="test@test.test/>
<add key="FCKeditor:UserFilesPath" value="/web/FCKeditorUploads/"/>
<add key="FCKeditor:BasePath" value="~/FCKeditor/"/>
</appSettings>
<connectionStrings>
<add name="SQLConnectionStrings" connectionString="Data Source=localhost;User Id=ita;Password=ita;"/>
<add name="ACCESSConnectionStrings" providerName="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=App_Data/db.mdb"/>
</connectionStrings>
Session生命周期:
<system.web>
<sessionState mode="InProc" timeout="10"></sessionState>
</system.web>
上传文件大小与时间:
<system.web>
<customErrors defaultRedirect="error.aspx" mode="On"></customErrors>
</system.web>
默认连接错误页:
<system.web>
<httpRuntime maxRequestLength="2048" executionTimeout="100"/>
</system.web>
添加系统常量:
<appSettings>
<add key="SMTPServerName" value="127.0.0.1"/>
<add key="FromEmailAddress" value="test@test.test/>
<add key="FCKeditor:UserFilesPath" value="/web/FCKeditorUploads/"/>
<add key="FCKeditor:BasePath" value="~/FCKeditor/"/>
</appSettings>