且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.Net MVC 5W /身份2.2.0注销不工作

更新时间:2021-10-30 23:46:24

我以前有这个问题,更改:

I had this problem before, change:

AuthenticationManager.SignOut();

要:

AuthenticationManager.SignOut(DefaultAuthenticationTypes.ApplicationCookie);

假设你正在使用的 ApplicationCookie 以保存您的登录信息。

Assuming that you are using ApplicationCookie to store your login information.