login - Blocking a user in Asp.NET -
i'm developing website in asp.net users can register , login. want block users 10 mins , after introduce wrong password 3 times.is there other solution excepting membershipprovider ? tried implement it, failed. after introduce in web.config, code below, else should ? thanks.
<membership defaultprovider="mymembershipprovider"> <providers> <clear/> <add name="mymembershipprovider" type="mymembershipprovider" autogenerateschema="true" connectionstringname="myconnectionstring" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="false" requiresuniqueemail="false" passwordformat="hashed" maxinvalidpasswordattempts="3" minrequiredpasswordlength="8" minrequirednonalphanumericcharacters="1" passwordattemptwindow="5" passwordstrengthregularexpression="" applicationname="/" /> </providers> </membership>
check following example asp.net 2.0 membership provider, implements way unlock users automatically
Comments
Post a Comment