标题:How to remove Security Question and Security Answer from membership pr ...
只看楼主
vincent90152
Rank: 1
等 级:新手上路
帖 子:32
专家分:0
注 册:2007-7-24
 问题点数:0 回复次数:3 
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
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
<WizardSteps>
<asp:CreateUserWizardStep runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep runat="server">
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>

Web.config
<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>
搜索更多相关主题的帖子: membership provider Question Security Answer 
2007-10-26 10:37
jxnuwy04
Rank: 2
等 级:新手上路
威 望:4
帖 子:768
专家分:0
注 册:2006-9-15
得分:0 
membership是05的新特性,目前还没研究过。

------------------不为别的,就为你,我的理想!-----------------
2007-10-26 13:50
shen521941
Rank: 2
等 级:论坛游民
威 望:1
帖 子:428
专家分:22
注 册:2006-12-1
得分:0 
不经常用,做项目时 membership 都是组里设计好的,直接拿来用的!

曾经有双翅膀,我没用她飞上蓝天,丢锅里炖汤了!
2007-10-26 14:00
vincent90152
Rank: 1
等 级:新手上路
帖 子:32
专家分:0
注 册:2007-7-24
得分:0 
谢谢大家的回应
2007-10-26 17:27



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-180894-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.297982 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved