Exemple #1
0
        protected void Usuario_LoggingOut(object sender, LoginCancelEventArgs e)
        {
            userName = HttpContext.Current.User.Identity.Name;
            usuarioCtrl.CerrarSesion(userName);

            Context.GetOwinContext().Authentication.SignOut();
        }