ASP.NET Expiring Password
Hi All,
Need some help...
I have an application developed in ASP.NET (vb).
I would like situation where once we register a user, their password will only be valid for 45 days before they need to reset it.
Does anyone know of a quick way of doing that?
I can either store the expiration date in the database but I am not exactly sure how best to call that and modify the Membership Provider.
Please help.
Thanks
decibel.places posted this at 14:41 — 30th August 2008.
He has: 1,494 posts
Joined: Jun 2008
I don't work with ASP.NET much, but in your db record you would need to set a "password date" field and check that when the user logs in - after 45 days, prompt the user to reset their password and update the "password date" field.
I would set the pw date for 45 days in the future and then on login if pw date <= current date then prompt for reset.
Perhaps you can find something on HotScripts
john_opwin posted this at 09:55 — 1st September 2008.
They have: 21 posts
Joined: Aug 2008
Hello,
You will include some fields like update so user can update their password and other thing and you also create an account where you will monitoring the users or you can use trigger in database it will very helpful to you.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.