且构网

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

如何手动"登录&QUOT用户;使用WebSecurity + SimpleMembership?

更新时间:2022-04-10 07:50:53

好了,你可以简单地回去认证的根源,直接调用

Well, you could simply go back to root of authentication and call directly

FormsAuthentication.SetAuthCookie

这将创建的cookie和验证您的用户。
见Asp.net Memebership没有授权密码

This will create cookie and authenticate your user. See Asp.net Memebership Authorization without password