简单的“注销” ASP.NET页

|                                                                                                                       
已邀请:
        您得到了哪些错误?正确的方法应该是:
FormsAuthentication.SignOut()
FormsAuthentication.RedirectToLoginPage()
当然,如果您使用的是表单身份验证,则适用此功能。     
        
 Session.Abandon();

 FormsAuthentication.SignOut();
 Response.Redirect(FormsAuthentication.LoginUrl);
    

要回复问题请先登录注册