This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Good day everyone, This code updates or counts the number of times users logged in. I want to disable or make users login account invalid on 4th attempt by loading an error page such that the user will be ask to get new account. how do I proceed. Below is my attempt so far. Do i need to set count <=4 to true? or false?. If possible,how
Look at it this way: when count is equal to 1, that means the user has made only one login attempt so far, right? So now consider what your code would do when count is equal to 1. Is that what you would want it to do?
Joined: Nov 13, 2010
No my intention was to allow each user to login only 4 times and on 5th login attempt let it display an error message that their login credential is no longer valid meaning that they should get new username and password.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com