Solved

How to create a password expiry form/code

Posted on 2014-02-20
1
349 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
ID: 39874597
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 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

19 Experts available now in Live!

Get 1:1 Help Now