protected async void Unnamed_LoggingOut(object sender, LoginCancelEventArgs e) { Session["Modo"] = null; BitacoraHelper.GrabarEvento("LOGOUT USUARIO", HttpContext.Current.User.Identity.Name); Context.GetOwinContext().Authentication.SignOut(DefaultAuthenticationTypes.ApplicationCookie); }
protected void Login_LoggingIn(object sender, System.Web.UI.WebControls.LoginCancelEventArgs e) { BitacoraHelper.GrabarEvento("LOGIN USUARIO", ControlLogin.UserName); }