Which property of MembershipProvider is used to track the time interval for the failed login attempts?

 Posted by Ddd on 3/15/2011 | Category: ASP.NET Interview questions | Views: 2245 | Points: 40
Answer:

PasswordAttemptWindow is the property which gives the time in minutes.
It is generally written in the Web.Config file
ex:
<configuration>
<system.web>
<membership defaultProvider="MyProvider">
<providers>
<add
name="MyProvider"
type="System.Web.Security.SqlMembershipProvider"
passwordAttemptWindow="30"/>
</providers>
</system.web>
</configuration>

The value is 30 minutes in this case.


| Alert Moderator 

Comments or Responses

Login to post response