Solved

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

Posted on 2011-03-16
3
420 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
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
paulmacd earned 500 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 33

Expert Comment

by:paulmacd
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

16 Experts available now in Live!

Get 1:1 Help Now