Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Member
 
Join Date: Jul 2007
Posts: 50
#1: Oct 26 '07
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]

jhardman's Avatar
Moderator
 
Join Date: Jan 2007
Location: logan, utah
Posts: 2,690
#2: Oct 26 '07

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


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
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,745
#3: Oct 27 '07

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


Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Member
 
Join Date: Jul 2007
Posts: 50
#4: Oct 29 '07

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


Quote:

Originally Posted by jhardman

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.
Member
 
Join Date: Jul 2007
Posts: 50
#5: Oct 29 '07

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


Quote:

Originally Posted by kenobewan

Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing

Thank you very much.
Reply


Similar .NET Framework bytes