Solved

How to create a password expiry form/code

Posted on 2014-02-20
1
346 Views
Last Modified: 2014-02-21
Hi

I'm using the aspnet membership tables, and I cant change that, my question is the client wants a password Expiry functionality similar to:


GeneratePasswordResetToken that you have for WebMatrix.WebData

Does anyone know can I can create something like that? i.e. someone clicks on the forgotton password, an email is sent to the user with a link, however the email has a 48 hr expiry date.

thanks
0
Comment
Question by:mousemat24
1 Comment
 
LVL 41

Accepted Solution

by:
guru_sami earned 500 total points
Comment Utility
On the page that user lands when they click on the, you can check the LastPasswordChangedDate of asp.net Membership. Check if it's 2 days or more, redirect them to some other page depending on what action you want to take.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now