Beispiel #1
0
        private void SaveLog(string message, bool isSuccess)
        {
            #region Log Entry
            User     user        = (User)Session["CurrentUser"];
            string   loginId     = user.LoginId;
            string   password    = "";
            int      loginTypeId = (int)Utilites.LoginType.Logout;
            string   ipAddress   = Request.UserHostAddress;
            DateTime createdDate = DateTime.Now;
            LoginLogManager.InsertLog(loginId, password, loginTypeId, isSuccess, ipAddress, message, createdDate);

            #endregion
        }
Beispiel #2
0
        private void SaveLog(string message, bool isSuccess)
        {
            #region Log Entry

            string   loginId     = inputEmail.Value.Trim();
            string   password    = inputPassword.Value.Trim();
            int      loginTypeId = (int)Utilites.LoginType.Login;
            string   ipAddress   = Request.UserHostAddress;
            DateTime createdDate = DateTime.Now;
            LoginLogManager.InsertLog(loginId, password, loginTypeId, isSuccess, ipAddress, message, createdDate);

            #endregion
        }