473,657 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PasswordRecover y issue

Does anyone know how to change the current mode in the
PasswordRecover y control?

I have an instance on the "login.aspx " page and, after the user has
successfully had their password emailed to them I was hoping I could
re-set it back to the "enter username", (or "enter password answer" as
the name's already entered), so they can try again. (Or even just show
a button which, when pressed, causes the same thing).

Any suggestions for how to do this?

I can inherit from the PasswordRecover y control, if required.
Nov 15 '07 #1
2 1378
There are events that you can use on each of the controls. With
PasswordRecover y, you can do the work in SendingMail
(http://msdn2.microsoft.com/en-us/lib...dingmail.aspx).

You will then reset the password using password change abilities on the
MembershipUser object and aler the message:

e.Message.Body = "{your message here}"

Then let the system do its business.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************** *************** *************** ****
| Think outside the box!
|
*************** *************** *************** ****
<pa*********@wc bs.co.ukwrote in message
news:8a******** *************** ***********@y5g 2000hsf.googleg roups.com...
Does anyone know how to change the current mode in the
PasswordRecover y control?

I have an instance on the "login.aspx " page and, after the user has
successfully had their password emailed to them I was hoping I could
re-set it back to the "enter username", (or "enter password answer" as
the name's already entered), so they can try again. (Or even just show
a button which, when pressed, causes the same thing).

Any suggestions for how to do this?

I can inherit from the PasswordRecover y control, if required.

Nov 15 '07 #2
There are events that you can use on each of the controls. With PasswordRecover y, you can do the work in SendingMail (http://msdn2.microsoft.com/en-us/lib...ontrols.pa...).
>
You will then reset the password using password change abilities on the MembershipUser object and aler the message:

e.Message.Body = "{your message here}"

Then let the system do its business.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
I don't think I understand what you're suggesting. Do you mean all I
need to is clear the entered password and the control will revert back
to the "enter password" stage?

I'm not trying to edit anything with the email, (that works as
required), but do need to change the control's stage, so that the user
can get their password re-sent to them, or even choose another
username.
Nov 21 '07 #3

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

Similar topics

1
2003
by: Amelyan | last post by:
Can anyone provide a simple example of using ASP.NET 2.0 PasswordRecovery control? All I need to accomplish is to e-mail user password using provided username in PasswordRecovery control. However, I don't seem to find to implement the right handlers. Thanks,
0
1325
by: paulmac106 | last post by:
Hi, I'm having 2 problems with this control. I save the password in the db as clear text, when a user uses the PasswordRecovery tool the value is then encrypted and sent to the user encrypted. Also, can I use the PasswordRecovery tool without the part where it asks you the security question? I want the user just to enter their
0
1228
by: =?Utf-8?B?V0I=?= | last post by:
Hi, Does anyone know how to programmatically get the new password from the PasswordRecovery control? I'm modifying the SendingMail event of my PasswordRecovery control so that I can customize the message, but I don't know how I can get the new password to include in this message. Thanks,
0
2019
by: =?Utf-8?B?am1obWFpbmU=?= | last post by:
I'm trying to create a process that allows me to limit the non-alphanumeric characters generated with the PasswordRecovery control. Specially I want to suppress some characters for security reasons. With textboxes I'm doing this with a RegularExpressionValidator control and have the following the following attribute setup: ValidationExpression="^{6,100}" This limits the user input to alphanumeric characters as well of some selected...
6
2606
by: john_c | last post by:
For ASP.NET 2.0 PasswordRecovery control, is there a way to allow entering an email address instead of the username and it send the password?
0
1161
by: =?Utf-8?B?UmFq?= | last post by:
In PasswordRecovery control, in case if the mail server is not accessable, how can we notify the user it before resetting the password. I know we have "SendMailError" event, but it fires only after the password is reset. Is there any option available in PasswordRecovery control? ASP.NET 2.0 /C#
3
1582
by: Ben | last post by:
Hi, when a password is sent to the user via email with the PasswordRecovery control, is it sent in "clear" even if the password is hashed or encrypted? Thanks Ben
2
4593
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: I use the PasswordRecovery Class to recover the user password, as we know there is some setting that must be done to config the mail, I but the following code into my web config file : <system.net> <mailSettings> <smtp from ="husam_108@yahoo.com">
6
2834
by: =?Utf-8?B?TW9yZ2Fu?= | last post by:
I have a PasswordRecovery web control as part of my login functionality that I have successfully tested in an application I'm building. I was asked to migrate some historical user data into the aspnet_application_services tables for this app, so I thought the best thing to do would be to just migrate all the user data with the exception of the passwords, and add text to the membership comment that read 'EncryptMe' or something like that. ...
0
8829
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.