Solved

How to create a password expiry form/code

Posted on 2014-02-20
1
356 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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