When try to access site i created after 3 login attempts it gives unauthorised access error-401. how can i reload page after 3 attempts in asp.net. Any help is appreciated.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best way is to store and manage these thing at backend(mean to say at SQL SERVER or any other server). If you are using the SQL SERVER then follow the following steps:
1). add a new column of int type in table named as invalidattempts
2). Now in logincheck Stored Proc, if the username and password are not authorized then update invalid column in table. and write the following code.
When you got 3 from sp then show an alert message that “You have made 3 invalid attempts thats is”