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
Solved

How to create a password expiry form/code

Posted on 2014-02-20
1
353 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hbo knew my windows software 4 62
RegEx with optional part 4 42
VB.NET Textbox input validation 4 37
transition to visual .net from vb6 5 37
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

856 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