Last post Oct 22, 2009 11:11 PM by chetan.sarode
Jul 27, 2007 04:36 AM|novusvita|LINK
Is it possible to use the PasswordRecovery control to retrieve the password, using the Question and Answer,
then displaying the password on screen. I do not want to send the password to email.
Any alternative method besides using PasswordRecovery control is appreciated.
Thank you for your help.
Jul 27, 2007 05:48 AM|DavidKiff|LINK
If you dont send an email, then you are relying on your user to remember their secret question /pass phase or what ever your going to use. If they have forgotten their password they will probably forget that as well!?
Jul 27, 2007 06:00 AM|novusvita|LINK
I am intending to run this inside an intranet. The users have limited access to resources. They cannot access the internet. There is no email service set up too as we do not want them to waste time and resources. This application is only for recording and
tracking purposes. They do work on computer terminals.
Is it then possible perhaps for the admin to view the password(then I'll probably not encrypt the password in the DB?). Then allow the user to relogin(by telling the password), thereafter allowing him to change the pass using the ChangePassword control.
Jul 27, 2007 06:07 AM|DavidKiff|LINK
You could hash your passwords, then allow an admin to write over the old (forgotten) password with a new password?
Jul 31, 2007 11:40 PM|chetan.sarode|LINK
You have to set in web.config
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
set the passwordFormat according to your need
Jul 13, 2008 11:27 PM|chetan.sarode|LINK
I think you can not display the password on screen
See the following diagram (takes from asp.net site)
Jul 21, 2008 11:24 PM|chetan.sarode|LINK
What is the status of your thread
If any answer helps you, Please mark it as answer so it will help for other people
Jul 22, 2008 11:24 PM|chetan.sarode|LINK
How you are storing the Google password also how u are accesing it.
Please explain in brief
Jul 28, 2008 11:24 PM|chetan.sarode|LINK
Have you tried my solution, Have you solved your query
Aug 25, 2008 12:02 PM|12string|LINK
Have you ever experienced the Password Recovery Control sending a blank for the
password in the email? I'm working on a system that implements the Membership
Service and everything works fine except when the user tries to recover their
password. The email that is sent to them DOES NOT contain their password, even
though I can see it stored in the system tables (i.e., using Clear)....
Aug 25, 2008 11:28 PM|chetan.sarode|LINK
Try this in web.config
<membership defaultProvider="MyProvider" userIsOnlineTimeWindow="25">
<add name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="Bag_ConnStr" applicationName="/"
enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Clear"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
Oct 20, 2008 11:31 PM|chetan.sarode|LINK
Any updates on this
Oct 27, 2008 04:51 PM|yourbudweiser|LINK
Protected Sub PasswordRecovery1_SendingMail(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MailMessageEventArgs) Handles PasswordRecovery1.SendingMail
e.Cancel = True
PasswordRecovery1.SuccessText = e.Message.Body
Oct 30, 2008 11:26 PM|chetan.sarode|LINK
So you mean to say, the mail which sends to user it get cancelled (due to e.Cancel = True) and password is displayed on screen
Nov 05, 2008 10:34 PM|chetan.sarode|LINK
Good one , working
Oct 22, 2009 02:03 PM|im1dermike|LINK
Hi. I'm wondering if smtp is the only means to email a password with the PasswordRecovery control as my (inept) IT department refuses to open up that port. I'm hoping it's possible to configure an Exchange account. Thanks.
Oct 22, 2009 11:11 PM|chetan.sarode|LINK
What you want exactly