<httpRuntime executionTimeout="120" --取消请求操作前资源可以执行的时间(S)
maxRequestLength="8192" --请求的最大字节数
useFullyQualifiedRedirectUrl="false"/> --TRUE:绝对定向,FALSE:相对定向
<pages buffer="true" --代码处理模式,TRUE:代码在HTML数据显示之前显示,FALSE:代码在执行时显示
enableSessionState="true" --激活会话状态.
enableViewState="true" --激活使用Viewstate
autoEventWireup="true" /> --是否自动激活Page事件.true是默认设置,FALSE可以定制程序集.FALSE是VS.NET IDE 的默认设置.
<appSettings>
<add key="DSN" value="server=LSERV;uid=user;pwd=password;database=data" />
</appSettings>
<customErrors defaultRedirect="error.aspx" mode="RemoteOnly" >--定制错误
<error statusCode="404" redirect="404error.aspx"/> --特定错误处理
</customErrors>
<trace enabled="false" --开启跟踪
requestLimit="10" --跟踪请求总数
pageOutput="false" --在没个页面上显示跟踪信息.默认为FALSE
traceMode="SortByTime" --排序
localOnly="true" /> --允许开发人员看到,禁止用户看到.