在 IIS 上运行的 ASP.NET 3.5 应用程序中,我如何强制对所有当前登录和经过身份验证的用户进行“取消身份验证”?
iisreset
似乎没有成功!
最佳答案
更改身份验证表单名称将要求所有用户进行新的身份验证。
来自:
<authentication mode="Forms">
<forms name="originalName" loginUrl="~/Account/Login" />
</authentication>
收件人:
<authentication mode="Forms">
<forms name="differentName" loginUrl="~/Account/Login" />
</authentication>
关于c# - ASP.NET/IIS : Log out all users,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2354989/