469,943 Members | 2,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,943 developers. It's quick & easy.

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

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
4 2844
jhardman
3,406 Expert 2GB
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
4,871 Expert 4TB
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Oct 27 '07 #3
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
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.

Similar topics

1 post views Thread by J.G. | last post: by
9 posts views Thread by Paul Keegstra | last post: by
1 post views Thread by Karl | last post: by
5 posts views Thread by Coaster | last post: by
1 post views Thread by Cirene | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.