Web Forms :: Add Customized Question And Answer To PasswordRecovery Control

Aug 15, 2012

I am using password recovery control in forgotpassword.aspx page. By default the password recovery control validates the Login id and the security question of a particular user. But i want to give an alternate option. That is, If the user forgets the security answer he can give his PAN Number as identificaiton. Its should be an option like either he can provide security answer or his PAN number. Can we acheive this functionality. Because from my knowledge it looks like Security Answer is mandatory.  But i want to provide alternate option that user should give his security answer, if he forgets he can use PAN number for his identificaition. UpmMembershipProvider has default property (requiresQuestionAndAnswer) which is set as true.

View 1 Replies


Similar Messages:

Security :: PasswordRecovery Not Completing Security Answer Verification?

Jul 12, 2010

I'm using asp.net's built-in membership provider with security question-and-answer enabled for password recovery against a SQL Server 2005 db. For some users, this works fine and they're able to receive their passwords. For others, and it's not clear what separates the two groups, the security answer is never properly processed. It doesn't matter if the answer is correct or incorrect, the page merely reloads without confirming or denying the request.As for events, VerifyingAnswer is being triggered, but not AnswerLookupError (if answer is incorrect) or SendingMail (if answer is correct). I ran a SQL trace during one instance, and the aspnet_Membership_GetUserByName stored procedure is being called, but nothing else gets called after. I would expect that aspnet_Membership_GetPassword would be called, which passes the security answer as a parameter, but it isn't.

View 2 Replies

DataSource Controls :: Compare Answer From Website Against Database Answer?

Jul 4, 2010

how to count the number of incorrect words from the answer from the website when comparing with database answer?

View 10 Replies

Checking Student's Answer On Web Form Against Database Answer

Jun 3, 2010

currently im trying to implement a quiz system on my website in which system will auto mark student's ans. if the student's ans is wrong, system will prompt an incorrect answer, highlight the errors and count the number of errors.

Im using asp.net C#.

View 6 Replies

Web Forms :: PasswordRecovery Control In Modalpopup?

Jan 24, 2011

I want to use PasswordRecovery control in modalpopup. After successfully completing first step of password recovery.I close the modal popup and now again when i open modal popup it shows with second step of the password recovery. But I want default first step when user close the modal popup.

View 1 Replies

Web Forms :: Delete Security Question And Answer In Login Control?

Jan 20, 2011

I use login control in asp.net 4.0 and i just like to delete Security question and answer and add other field EX: address,fullname....

How should i do it?

View 3 Replies

Web Forms :: PasswordRecovery Control - Errors Trying To Send Email

Oct 28, 2010

I have a password recovery control on my login page. I want to have it send the user specified (and after question/answer filled out correctly) password in an email. I keep throwing an error though, saying that the SMTP needs authentication. I've used a lot of email capabilities in my application, but I set all the SmtpClient properties programmatically, so I never had to rely on system.net mailSettings section of the web.config file. But now I am relying on it, because I am not intercepting any events (unless that would be easiest) of the password recovery control. Here is my system.net excerpt from my web.config file:

[Code]....

What am I not doing here to specify SMTP authentication? Why am I throwing this error? I'm putting my credentials in there with username and password. Am I not configuring the PasswordRecovery control correctly?

View 4 Replies

Security :: Bug In PasswordRecovery Control?

Apr 5, 2010

I have asked the following question multiple times but did not receive any proper reply.

I have a web page which is using PasswordRecovery control.

Its working fine but I have a scenario in which I have to disable Viewstate for the whole application.

Now after disabling viewstate when I visit the webpage I have noticed that PasswordRecovery controls is not working (Every times when I submit the default button to go to step 2, the postback occur but not moving to step 2).

View 1 Replies

Security :: Change Display Of PasswordRecovery Control?

Aug 11, 2010

For reasons to long to go in to I have to change the behaviour/appearance of the Success page on our password recovery page.

We've been tasked with making the Success template identical to the UserName template i.e. with a label and text box for UserName and identical messages on both pages.

Basically our client wants no difference between successful password retireval and failure - the same message will display regardless e.g. "An email has been sent to <username> with your password."

Which reminds me - in the success/failure message they'd like the entered UserName to appear but I can only get it to appear if it's a valid username - if it's nonsense the UserName is blank.

View 2 Replies

Security :: Access The Submit Button In Passwordrecovery Control?

Nov 17, 2010

I am using passwordrecovery control.

After entering username and keying enter key(from keyboard) it was not firing submitbutton_click event. So i have added defaultbutton property in the panel control, and it is working fine. And my problem here is..

Clicking on submit button it is showing security question. After answering the security question, i have to click on the submit button either by mouse click or tab enter.

What i need to do is.. after answering the security question, I should be able to hit enter key instead of mouse clicking on submit button.

View 3 Replies

Security :: PasswordRecovery Control Is Not Working With Disable Viewstate?

Mar 31, 2010

I have a web page which is using PasswordRecovery control.

But I have a scenario in which I have to disable Viewstate for the whole application.

Now after disabling viewstate when I visit the webpage I have noticed that PasswordRecovery controls is not working (Every times when I submit the default button to go to step 2, the postback occur but not moving to step 2).

View 2 Replies

Make PasswordRecovery Control Work With Locked Out Users?

Apr 12, 2010

Example scenario in an ASP.NET application using SQL Server membership provider :

1) a user can't remember their exact password, and tries many times in a short space of time to login with an invalid password (say 5 times in a 10 minute window). This locks out the user (i.e. sets the IsLockedOut flag of the aspnet_Membership table to 1).

2) user goes to the "forgot my password" screen to try to get a new password emailed to them. This screen uses the PasswordRecovery control. User enters their correct user id, but then cannot go further in the password recovery process, since the IsLockedOut flag is 1. (They don't even get to see their security question).

3) The user would then have to phone tech support to get themselves unlocked etc.

To reduce the burden on support staff, we are trying to reduce the times step 3 is required, by making the PasswordRecovery control (if possible), work with locked out users. i.e. when they enter their login ID, the security question comes up, and IF they enter the correct answer, the system will unlock the user, and email the new temporary password to them. I'm wondering if it is possible to tweak the PasswordRecovery control to do this.

View 1 Replies

How To Set SSL True For PasswordRecovery Control When Using GMAIL SMTP Server

Jul 12, 2012

My PasswordRecovery Control is not working. It is giving me SMTP problem. I set my proper gmail address with port number, valid user name and password. But not working? Do I require to set more settings?

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. pg3sm5232120pbc.2

 Web.config :

<system.net> <mailSettings> <smtp from="myemailid@Gmail.com"> <network host="smtp.gmail.com" password="mypassword" port="587" userName="myemailid@Gmail.com" /> </smtp> </mailSettings> </system.net>

View 1 Replies

Security :: Use The PasswordRecovery Control To Recover A Password Using The Email Address Instead Of The User Name?

Jan 26, 2010

Is it possible to use the PasswordRecovery control to recover a password using the email address instead of the user name?

Ideally I'd like to have the PasswordRecovery control allow users to enter their email address instead of their user name and then proceed to answer the security question.

View 3 Replies

Customized CreateUserWizard Control Is Firing Dropdown's OnSelectIndexChanged Event?

May 6, 2010

I have a CreateUserWizard control, for which I customized the first step.

All I did was add 3 DropdownLists to represent Date of Birth fields. So I have Month, Day, and Year dropdowns.

I have ViewState disabled at application level (disabled it in web.config).

I enabled viewstate on Month, enabled AutoPostback = true, and have a method for the event OnSelectedIndexChanged.

Depending on the Month, the values in Day can range from 28-31.

Now when I fill out the form and hit Create User, the Month_OnSelectedIndexChanged event gets fired first for some reason. I found this out by debugging. Because of this, it does not save the Day the user has picked.

View 2 Replies

Security :: Send Customized Email On Password Recovery Control

Mar 2, 2011

I want to send the Customized email body text to user with new Password like the below

View 6 Replies

Custom Server Controls :: Change Theme To Customized Control?

Jun 15, 2010

I have a customrize control (GridView)

I am trying to add theme for GridView

<asp:GridView ID="GridView1" runat="server" SkinID="GVfour"> // this is work

<JJ:RxGridView ID="JJGV" runat="server" SkinID="GVfour" ... > // this is my custom control , skin wonk work , can't findout the Skin named GVfour

this customrized control was not written by me... I just guess the problem may be the render code..

I found out the customrized control alerady assign Css Style on Gridview when OnPreRender
like this

[Code]....

I also tryied to change skinid on page_preInit

which will return error because , gridview is null..

View 3 Replies

Security :: How To Create A Customized Login Control And Calls For Membership Authentication

Mar 18, 2010

I just like to know how can i create my own authentication(calling the ASP .net membership, role) page with the same function as the LOGIN Control. Your wondering, why not use the Login control instead. I have my own design and i don't know how to pattern my design to the built in Login Control. I tried editing the login template, but it's pretty hard to pattern it to my design.

This is my design

Basically what would like to know how the Login Control calls for the authentication, and when authenticated, it will pass the user(full name) to my LoginView Control without any coding. Or is it possible that I remove default login button in the LOGIN Control then create my own button and trigger the authentication or validation? But if you have other suggestion that can follow my design and call the authentication, i would be happy to know.

View 3 Replies

Security :: Customized Changepassword Control And Literal Text (ID=FailureText) In Validation Summary?

May 22, 2010

[code].....

i get all the error message in validation summary except one.the one is if i enter the wrong entry in old password textbox i am getting the error message in literal(ID=Failturetext).i want to show it in validation summary.is ther ary way to do this without the use of event "ChangePassword1_ChangePasswordError".

View 1 Replies

Configuration :: PasswordRecovery Control: "SMTP Host Was Not Specified." Nightmare?

Jan 17, 2011

Firstly, I'm a newbie to ASP.net, but have around ten years of ('classic') ASP and VB6 experience.I have spent the last 12 hours or so googling for a solution to this problem, so it's nothing obvious (to myself or anyone else I can find talking about it, at least). Things I have ruled out so far include:1) Lack of SMTP server (fixed)2) Firewall issues3) Web.config <mailsettings> directivesI am developing my app locally (VS-2010, Windows 7 Premium ). When I kick off my application containing a form with the PasswordRecovery control in it, and run the password recovery control, I get the error:

[Code]....

This I figured is because I am running Windows 7, which doesn't have IIS7.5 (and thus an SMTP server) running by default. So I enabled IIS 7.5 in component settings, and lo and behold there it was. However there was no SMTP server included (those kind folk at Microsoft like to randomly remove things in system upgrades).So I dug around and installed a free smtp mailserver "hMailServer", and set it up with a the relay mail server address I use with my O2 email, with default credentials.I ran the test and it confirmed that I was indeed reaching the server OK. It also said I could therefore reference Localhost as my smtp server.I also realised I was missing the web.config <mailsettings> directives, so included (under <system.net> <mailsettings>):

<smtp deliveryMethod="Network" from ="zenid@here.com">
<network host="localhost" defaultCredentials="true" port="20" />
</smtp>

[code]...

View 11 Replies

Web Forms :: Create A Question And Answer Website?

Jan 20, 2011

In my application i need to add a module for question and answers (like a forum or similar to stackoverflow.superuser etc). I am confused about implementing Tags, Meta tag etc.

View 3 Replies

Forms Data Controls :: Get Correct Checked Answer?

Sep 29, 2010

I am still studying to become a webintegrator and this is my private project to try and learn C# better.

I have a database with a table called Answers which holds AnswerID, Answer1, Answer2, Answer3 and CorrectAnswer + a table called Questions which holds QuestionID, QuestionNumber and QuestionText.

On a page i have a repeater that pulls the questions from the database and inside it i have another repeater with my 3 radiobuttons that pulls the 3 Answers from the database and are grouped so you can only check 1 of the radiobuttons as the user. See below:

<asp:Repeater ID="rptQuestions" runat="server">
<ItemTemplate>
<div>
<div>
Spørgsmål
<asp:Label ID="lblQuestionHeader" runat="server" Text='<%#Eval("QuestionNumber") %>'></asp:Label>

[Code]...

What i need to do, is somehow find each CorrectAnswer checked correctly in the repeater holding the radiobuttons and give 1 point for each CorrectAnswer chosen by the user (if theres 10 questions there will be 10 repeateritems with 3 radiobuttons in each one) and write this into aspnet_Profile. Problem is i have no idea how to do this since it already seems a bit complicated in my head and i haven't had much C# yet. So any help would do and notice i do not ask for the entire coding but simply a push in the right direction.

View 2 Replies

Web Forms :: Custom Validator Inside PasswordRecovery?

Sep 10, 2010

I am using a PasswordRecovery Control and have changed one of the validators to a custom Validator, however, OnServerValidate neer seems to get called.

Can someone tell me how to get the OnServerValidate to work correctly?

View 4 Replies

C# - Customized Dynamic Web Forms

Mar 21, 2011

I have a web form that has 2 drop down menus, when the first drop down menu chooses something, I want the next drop down menu to populate according to the selection on the first drop down menu without the page reloading. Would I use ajax for this? What is the best way to accomplish this?

View 2 Replies

Web Forms :: Customize PasswordRecovery - Angle Bracket Percent In UserNameTemplate?

Feb 9, 2010

I am customizing the asp:PasswordRecovery control by adding an own UserNameTemplate. This all works fine, but as soon as I am adding any "Angle Bracket Percent" (<%=) into the UserNameTemplate, the entire PasswordRecovery control falls back to the default design and doesn't use my own UserNameTemplate anymore.

For instance, if I customize a asp:PasswordRecovery control as follows, it works fine ...

[Code]....

... but when I add <%= "Hello world" %> it uses the default layout:

[Code]....

Is this a bug or do I need to change anything? Using Angle Bracket Percent in asp:Login (within LayoutTemplate) works fine, but not in asp:PasswordRecovery. The reason why I need/want to use Angle Bracket Percent is because I want to get localized text out of an XML file (e.g. "<%= GetText("ForgotPassword.Introduction") %>"). However, this shouldn't be the problem as asp:PasswordRecovery even breaks if I use the "<%= "Hello world" %> phrase in the example stated above.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved