Posted on: 9/4/2014 2:47:16 PM | Views : 369

Good Day, All i have this code to change password,

string Username = Convert.ToString(HttpContext.Current.Session[username]); MembershipUser user = Membership.GetUser(Username); if( user.ChangePassword(txtoldpassword.Text, txtNewpassword.Text)) { MyClass.MyAlert(this, "Successful", "123"); return; } else { MyClass.MyAlert(this, "Change failed. Please re-enter your values and try again", "123"); return; } //when i try it, it will successfully change but i can still be able to log in with the old password but can not log in with the new password meaning the password stuff didnt work? how do i get it right?... thanks

Go to the complete details ...