Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6075897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:32:44+00:00 2026-05-23T10:32:44+00:00

The custom ASP.NET membership provider I am using does not support the MaxInvalidPasswordAttempts and

  • 0

The custom ASP.NET membership provider I am using does not support the MaxInvalidPasswordAttempts and PasswordAttemptWindow settings. I am required to use this particular provider and my situation prevents me from extending it’s functionality.

That said, what is the best approach for “rolling your own” implementation of account locking? Some initial ideas include:

  1. If a user exceeds the maximum number of invalid login attempts, set their account’s “IsApproved” setting to FALSE.
  2. If a user exceeds the maximum number of invalid login attempts, set a Boolean value in their profile (i.e. “IsLocked”) to true.

Also, what is the recommended way to keep track of the number of invalid attempts while attaining the PasswordAttemptWindow functionality? Should I persist a counter in Session, Cache, DB, etc..?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:32:45+00:00Added an answer on May 23, 2026 at 10:32 am

    You should persist on the database, like the regular provider does.

    Here you can download the source for the default membership provider, this might give you some insight for what you need to accomplish.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an ASP.net application I'm using a Login control with a custom membership provider
I am creating custom membership provider for my asp.net application. I have also created
I've had to create a custom membership provider for my current ASP .Net project
I need to create a custom membership user and provider for an ASP.NET mvc
We're using ASP.Net membership providers (the SQL Server provider), and I want to be
By default, ASP.NET's membership provider redirects to a loginUrl when a user is not
I created custom membership provider for asp.net mvc applications and it all works fine
I am currently building a custom Membership Provider for my Asp.net MVC website. I
I'm working with a custom asp.net membership provider in conjunction with the default Account
I am using the default sql membership provider with ASP.NET and I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.