Last post Oct 23, 2009 04:11 AM by chetan.sarode
Jul 27, 2007 09: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 10: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 11: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 11:07 AM|DavidKiff|LINK
You could hash your passwords, then allow an admin to write over the old (forgotten) password with a new password?
Aug 01, 2007 04:40 AM|chetan.sarode|LINK
You have to set in web.config
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
set the passwordFormat according to your need
Jul 14, 2008 04:27 AM|chetan.sarode|LINK
I think you can not display the password on screen
See the following diagram (takes from asp.net site)
Jul 22, 2008 04:24 AM|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 23, 2008 04:24 AM|chetan.sarode|LINK
How you are storing the Google password also how u are accesing it.
Please explain in brief
Jul 29, 2008 04:24 AM|chetan.sarode|LINK
Have you tried my solution, Have you solved your query
Aug 25, 2008 05: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 26, 2008 04:28 AM|chetan.sarode|LINK
Try this in web.config
<membership defaultProvider="MyProvider" userIsOnlineTimeWindow="25">
<add name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=22.214.171.124, 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 21, 2008 04:31 AM|chetan.sarode|LINK
Any updates on this
Oct 27, 2008 09: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 31, 2008 04:26 AM|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 06, 2008 03:34 AM|chetan.sarode|LINK
Good one , working
Oct 22, 2009 07: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 23, 2009 04:11 AM|chetan.sarode|LINK
What you want exactly