Block User on Entering wrong password 5 times
-
Hello Experts I am doing login page.In that on entering wrong password 5 times i have block that user. Please can anyone help me in solving this issue
Set up a count to count how many times a user postbacks to the login page i.e. set a session that runs everytime a user tries to login. Count the number of times they fail, when it hits 5 stop the user from loggin in. You could do this by entering a number into a column next to the user's name, this number could expire after 24 hours and the user would be unblocked again say if you need this explaining :-D
-
Hello Experts I am doing login page.In that on entering wrong password 5 times i have block that user. Please can anyone help me in solving this issue
You can keep attempt count in session, check the count before each attempt.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Set up a count to count how many times a user postbacks to the login page i.e. set a session that runs everytime a user tries to login. Count the number of times they fail, when it hits 5 stop the user from loggin in. You could do this by entering a number into a column next to the user's name, this number could expire after 24 hours and the user would be unblocked again say if you need this explaining :-D