Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 451315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:57:23+00:00 2026-05-12T21:57:23+00:00

I am using ASP.NET MVC with ASP.NET membership. Following best practices for ‘I forgot

  • 0

I am using ASP.NET MVC with ASP.NET membership.

Following best practices for ‘I forgot my password logic’ I want to do the following :

  • send the user an email with a link to a unique, hidden URL that allows him to change his password
  • asking for a password reset does NOT reset the password. you need the unique link.

I’m looking for suggestions on the best way to generate this URL, make it valid only temporarily and then validate it. I think the ASP.NET membership standard way is to have a ‘security question’ which is really a lousy way of doing it.

What would be the best way to generate and validate such a link. SHould I just generate a GUID and put it in the user’s profile? I dont think there is any other pre-built right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:57:24+00:00Added an answer on May 12, 2026 at 9:57 pm

    Your solution is fine… Generating a GUID is OK for temporary password resets. Just be sure you aren’t generating it until the user asks for it, then add it to their profile with a timestamp… and give it a very short window of opportunity, like an hour. Reset/clear it when the user accesses the URL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using default asp.net mvc 4 membership system. User sends his username and password
HI I am using asp.net mvc with asp.net membership. I want to have a
I am using membership in asp.net mvc 2 and i want to restrict users
I'm using Membership Provider in my ASP.NET MVC Application . I want to check
I have a ASP.NET MVC site using Membership Provider. I have trouble testing some
I'm using asp.net 4.0 with asp.net MVC 2.0 and the asp.net membership provider. I
I am using asp.net MVC with the asp.net membership but I starting to think
Possible Duplicate: How to assign Profile values? I'm using ASP.NET MVC and the Membership
I'm using ASP.NET MVC 1.0 along with the Oracle ASP.NET Membership Providers. I'm running
I have a project using asp.net mvc and form membership provider . I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.