Today, in order to prepare the code to prevent password guessing, the same user enters the password for three consecutive errors, write the IP address to the database.
Solution: Create a session storage login attempt failed, when the number is> = 3, perform data operations
Confusion: Session.SetAttribute is built how string how to become an int type 1
New Discovery Problem: If you use the session, turn off the IE variable is invalid. So consider using cookies