AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 block the login id for 24 hours
Posted by Amit Tomat on  10/6/2010 5:31:58 PM Category: Asp.Net 2.0
Add to my favorites
Email to friend
i create a login page.i want that if anyone enter the wrong password for three time continuously then that id should be block for 24 hours and msg also displayed

Post Your Reply Post New Question

 Viewer's Reply
Block Login with Threshold in Asp.Net
Answered By Moderator1 on 10/8/2010 9:34:52 PM
Hi,

You need to do some logical work here. Count the no. of times of Wrong Password Entry, if it is greater than 3, then set the Block Flag and updated Time in the Login Information table itself. After blocking whenever, the user login into the system, check the last updated time, when it is greater than 24 hours, then reset the block flag and allow the user to go inside the website.

But this is the a recommended way.. sure the user will be frustrated if they need to do something immediately... Try some other logic without blocking for 24 hours.
 
sample code
Answered By Mohammad on 2/15/2011 12:45:46 AM
What to write can you provide step by step process
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Sexy Web Design - Free 71 Page Preview!
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks - Free 158 Page Preview
Introduction to Software Development