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. 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.
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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,
|
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
|
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,
|
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...
|
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?
| |
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#
|
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
|
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">
|
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. ...
|
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...
|
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...
| |
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,...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |