473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Detecting password reset?

Using asp.net Membership, is there a way to detect a password reset so
that next time the user logs in, you can send them to the password
change page?

Thanks.

Feb 19 '07 #1
3 1688
Not sure I completely understand the goal here. There is a change Password
control you can use, if that will help. When you use it, your password gets
changed on the spot.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"john_c" wrote:
Using asp.net Membership, is there a way to detect a password reset so
that next time the user logs in, you can send them to the password
change page?

Thanks.

Feb 20 '07 #2
On Feb 19, 5:18 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yabbadabbadoo.comwrote:
Not sure I completely understand the goal here. There is a change Password
control you can use, if that will help. When you use it, your password gets
changed on the spot.
Yes, that is true but occurs after a password reset...at least in my
configuration. Here's what I do: The user forgets his password and
chooses to have it reset. This is a call to user.ResetPassword(). I
then email this temporary password to the user. They login with the
temp password. At that point, I want to show the PasswordChange
control. However, I need to know they requested the temp password.

I can manually setup fields in the database and code up the sprocs to
maintain this. I wondering though if asp.net already had some way to
tell you. Looking at the tables created by membership, it doesn't
appear to have that information stored anywhere.

Feb 20 '07 #3
You could put some unique identifier on the querystring of the link you email
to the user. When they click the link, you can capture this querystring item
and you would know.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"john_c" wrote:
On Feb 19, 5:18 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yabbadabbadoo.comwrote:
Not sure I completely understand the goal here. There is a change Password
control you can use, if that will help. When you use it, your password gets
changed on the spot.

Yes, that is true but occurs after a password reset...at least in my
configuration. Here's what I do: The user forgets his password and
chooses to have it reset. This is a call to user.ResetPassword(). I
then email this temporary password to the user. They login with the
temp password. At that point, I want to show the PasswordChange
control. However, I need to know they requested the temp password.

I can manually setup fields in the database and code up the sprocs to
maintain this. I wondering though if asp.net already had some way to
tell you. Looking at the tables created by membership, it doesn't
appear to have that information stored anywhere.

Feb 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ian | last post by:
Hi I know there are products out there that can do this like http://www.psynch.com/technology/ska.html What is the code that is used to Reset a Users password so the next time they logon to...
4
by: mbailey | last post by:
This has to be a simple question for most of you, so here goes. My passwords for sa and another login that I created keep resetting. How can I turn off password expiration in SQL Server 2000? ...
2
by: Rod | last post by:
I have a requirement in which I need to allow the user to log into our ASP.NET application, but also be able to change their Windows password, if it is expired. I had thought that Windows...
0
by: serkan | last post by:
Guys, I am trying to get this password reset functionality wor for me but I am not successful at all. Please somebody help me. I get "Your password could not be reset - please try again later" so I...
1
by: Dabbler | last post by:
My password reset emails aren't getting through so I have two problems, getting the email to work and resetting the passwords from users who have already missed their reset email. My health...
6
by: jarice1978 | last post by:
Hello, I have been scanning the internet for a few days now. That is not working. So now it is time to post! I have read a few other posts on here about authentication but they do not match...
4
by: custommx3 | last post by:
I have designed a site that requires users to login. Me being new to php, I hired a guy to help me setup the database. He set it up and it works flawlessly. Well.. instead of helping me finish the...
2
by: Homer | last post by:
Hi, I want to be able to reset a user's password and I do not want to use the PasswordRecovery control to reset and email it to the user. A while back, I thought I'd read an article that...
2
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.