ASP.NET, how stop number of retry at login Page -


in asp.net website, implement account lock @ login page. not using provider that. auto-unlock account after configurable time.

as know microsoft provide account lock feature provider, have different requirements

1. using oracle database 2. not store account lock info in database. because require administrator involvement. 3. there auto-unlock way of doing? 

please help?

you use singleton pattern create object maintains information betweens requests in same way cache or session object does.

with in mind you can construct in memory object can use limit repeat requests in site maintaining information of each failed request, can combine timers remove requests older specified time. allows check user hasn't exceeded failed request count, , timer auto unlock automatically removing old requests.

http://www.dofactory.com/patterns/patternsingleton.aspx

the singleton exist life of application process if cycles down clear requests information , therefore locks - think in iis 20 minutes, although deploying recycles application.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -