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);
 }