locked
Difference between AuthenticationService.Logout and FormsAuthentication.SignOut RRS feed

  • Question

  • What is the difference between LS and ASP.NET logut:

    new AuthenticationService().Logout();
    FormsAuthentication.SignOut();

    When should I use ASP, and when LS? Or maybe both?

    I could also ask the same question aabout logging in. When to use AuthenticationService().Login() instead of defalt LogIn.aspx?

    Tuesday, March 14, 2017 10:08 AM