有人在.net上创建了一个网站,该网站将被接管。
当有人登录时,它会在一段时间后自动将您注销。
在web.config中有这样的代码,假设它控制时间:
<httpRuntime
executionTimeout="12000"
maxRequestLength="307200"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
enableVersionHeader="true"
requestValidationMode="2.0"
/>"12000“这个数字是什么意思?
我可以更改代码中的时间长度吗?
executionTimeout和maxRequestLength有什么区别?
谢谢
发布于 2014-04-10 12:11:43
如果您使用的是身份验证表单,请在system.web中查找web.config身份验证。在那里,您有一个超时参数。
<authentication mode="Forms">
<forms loginUrl="login.aspx" name=".ASPNETAUTH" protection="None" path="/" timeout="60"/>
</authentication>发布于 2014-04-10 11:12:22
https://stackoverflow.com/questions/22986313
复制相似问题