By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 2,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

How to remove Security Question and Security Answer from membership provider?

P: 50
How to remove Security Question and Security Answer from membership provider?
Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for replying.

CreateNewWizard.aspx
[HTML] <asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
<WizardSteps>
<asp:CreateUserWizardStep runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep runat="server">
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>[/HTML]

Web.config
[HTML] <membership defaultProvider="CustomizedProvider">
<providers>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="SqlServerConnectionString"
applicationName="MTSchool"
passwordFormat="Clear"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0" />
</providers>
</membership>
<profile enabled="true">
<properties>
<add name="Country" type="string"/>
<add name="Gender" type="string"/>
<add name="Age" type="Int32"/>
<remove name="security question"/>
</properties>
</profile>[/HTML]
Oct 26 '07 #1
Share this Question
Share on Google+
4 Replies


jhardman
Expert 2.5K+
P: 3,405
I've moved your post to the .NET forum since it is obvious that you are using ASP.NET and not ASP. However, I am not sure you are making a clear question. Please explain what is happenning and how you want that to change.

Jared
Oct 26 '07 #2

kenobewan
Expert 2.5K+
P: 4,871
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Oct 27 '07 #3

P: 50
I've moved your post to the .NET forum since it is obvious that you are using ASP.NET and not ASP. However, I am not sure you are making a clear question. Please explain what is happenning and how you want that to change.

Jared
Thank you very much.
Oct 29 '07 #4

P: 50
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Thank you very much.
Oct 29 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.