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);
 }
Пример #2
0
 protected void Login_LoggingIn(object sender, System.Web.UI.WebControls.LoginCancelEventArgs e)
 {
     BitacoraHelper.GrabarEvento("LOGIN USUARIO", ControlLogin.UserName);
 }