如何检查Asp.net会员资格中的QuestionAnswer [英] how check QuestionAnswer in Asp.net Membership

查看:70
本文介绍了如何检查Asp.net会员资格中的QuestionAnswer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i想要显示文本框给用户接收QuestionAnswer并使用DataBase来验证问题答案

实际上我使用asp.net会员资格我希望用户IsLockedOut等于True,



显示PasswordQuestion并且如果用户输入正确的QuestionAnswer IsLockedOut等于False



我能做什么?要做到这一点吗?

hello to all,
i want show textbox to user for receive QuestionAnswer and validate this with DataBase QuestionAnswer
Actually i use asp.net membership and i want when user IsLockedOut equal True,

show PasswordQuestion and if user Enter correct QuestionAnswer IsLockedOut equal to False

What can I do to make this work?

推荐答案

使用现有方法来完成此任务。



http://www.asp.net/web-forms/tutorials/security / admin / recovering-changing-changes-cs [ ^ ]
Use an existing method to accomplish this.

http://www.asp.net/web-forms/tutorials/security/admin/recovering-and-changing-passwords-cs[^]


这篇关于如何检查Asp.net会员资格中的QuestionAnswer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆