我在根目录的web.config上有这些
<authentication mode="Forms">
<forms loginUrl="Login.aspx"
protection="All"
timeout="60"
name=".ASPXAUTH"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseDeviceProfile"
enableCrossAppRedirects="false" />
</authentication>但.ASPXAUTH这么快就放行了(我想是5分钟吧)。
原因可能是什么?
发布于 2014-02-19 00:51:02
很多时候,这是因为你重建了解决方案。重新启动web服务器并重新生成machineKey。
因此,由以前的machineKey加密和签名的cookie是无效的。
所以你才被迫退出。
这是给你的一个快速的。https://stackoverflow.com/a/436053/280970
https://stackoverflow.com/questions/21831103
复制相似问题