473,394 Members | 1,641 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,394 software developers and data experts.

How to programatically "Recover password" in ASP.Net login control

Hi,

We use the ASP.net loginControls and the DB schema.
How to programmatically activate the "PasswordRecovery" of a specific
end-user when a user clicks my web application's button?
I need to send a specific user an email with a new "reset" password.

I thought of including an invisible PasswordRecovery Control and initialize
the "User Name" field.
PasswordRecovery1.UserName = "zako";
PasswordRecovery1.Visible = false;
But how to simulate a "click" of the PasswordRecovery control's "Submit"
button?

Thanks!
Oct 9 '06 #1
2 4751
How far are you taking this? To the point of sending the email, or are you
taking over that?

Resetting the password is done on the MembershipUser object, so if you send
the email, you can use that. To go any deeper, you will likely have to
inherit from the class and override the methods.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Ofer" <Of**@discussions.microsoft.comwrote in message
news:21**********************************@microsof t.com...
Hi,

We use the ASP.net loginControls and the DB schema.
How to programmatically activate the "PasswordRecovery" of a specific
end-user when a user clicks my web application's button?
I need to send a specific user an email with a new "reset" password.

I thought of including an invisible PasswordRecovery Control and
initialize
the "User Name" field.
PasswordRecovery1.UserName = "zako";
PasswordRecovery1.Visible = false;
But how to simulate a "click" of the PasswordRecovery control's "Submit"
button?

Thanks!

Oct 9 '06 #2
Hi,

I need to programatically reset an end-user's password from the server side.

I have another question now -
How can my server app reset a password in a different membership provider
than the one my server app is using?

Thanks!

"Cowboy (Gregory A. Beamer)" wrote:
How far are you taking this? To the point of sending the email, or are you
taking over that?

Resetting the password is done on the MembershipUser object, so if you send
the email, you can use that. To go any deeper, you will likely have to
inherit from the class and override the methods.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Ofer" <Of**@discussions.microsoft.comwrote in message
news:21**********************************@microsof t.com...
Hi,

We use the ASP.net loginControls and the DB schema.
How to programmatically activate the "PasswordRecovery" of a specific
end-user when a user clicks my web application's button?
I need to send a specific user an email with a new "reset" password.

I thought of including an invisible PasswordRecovery Control and
initialize
the "User Name" field.
PasswordRecovery1.UserName = "zako";
PasswordRecovery1.Visible = false;
But how to simulate a "click" of the PasswordRecovery control's "Submit"
button?

Thanks!


Oct 22 '06 #3

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

Similar topics

0
by: yurps | last post by:
Hello, I installed both, 1st mysql 4.1.7 but heard there was a change with password hashing so now got 4.0.9 Basically when I choose a page with php_info() I can load it fine, but when I call a...
5
by: Prem K Mehrotra | last post by:
I come from Oracle background. In Oracle, when one wants to do a point in time recovery, one can specify recover database until timestmap. Oracle's database maps to a db2 subsystem, i.e., in...
2
by: Chris Barrow | last post by:
Hi everyone, Does anyone know if there is a problem populating a system.web.ui.htmlcontrols.htmlinputtext control when the control's type is set to "password?" I am attempting to retreive a...
0
by: damontimm | last post by:
My setup: Mac OS 10.4.4; mysql 4.x ... everything was installed and working fine for some time. Today, I added drupal to my system and had to create a new database in mysql -- now I am having some...
4
by: Adrian Parker | last post by:
In asp.net, is there any way of stopping the browser from outputting the message.. "Do you want Windows to remember this password, so that you don't have to type it again the next time you visit...
3
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, we've got a strange problem here: We've created an ASP.NET 2.0 web application using Membership.ValidateUser() to manually authenticate users with our website. The problem is: If the...
3
by: groupie | last post by:
Hi, I'd like to know how to implement the "Forgot Password" feature on many websites which require a login, exactly like this ebay example:...
1
by: groupie | last post by:
Hi, I'd like to know how to implement the "Forgot Password" feature on many websites which require a login, exactly like this ebay example:...
6
by: lightyagami | last post by:
how to code the "forgot your password?" in php??? i have a login account where i want to display also the "forgot your password?" but i dont know how to code it in PHP...can u help me?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
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...

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.