Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.NET 4 and visual studio 2010 Membership web USING vb

Posted on 2011-03-16
3
Medium Priority
?
468 Views
Last Modified: 2012-05-11
Hello.  I have a asp.net 4 membership role based web using visual basic and visual studio 2010.  I am creating a site where I will create users names and passwords.  I then send the username and password to the person.  What I want to do is have the site force the user to change the password on first login, but I am not sure how to do that.  Any help will be appreciated.  I also would like them to be forced to change the password after they recover.  

Thank you
0
Comment
Question by:bidgadget
[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
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 2000 total points
ID: 35150526
It sounds like you'll need a flag - perhaps a boolean value - associated with the user's record in the database.  Set the flag to "true" when they first register and when they request a new password.  Then check for the flag every time they log in.  If the flag is true, send them to a page where they have to change their password.
0
 

Author Comment

by:bidgadget
ID: 35150551
Thank you for your response. Where and how would I check the flag?
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35150735
You'd have to write that code from scratch.  You'd want to implement it sometime after they logged in, whereever you allow them to do that.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

715 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