本文介绍了具有登录和注销权限的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨 我是ASP.NET的新手.我正在建立一个学校网站,学生可以在其中使用其ID和密码登录和注销.学生ID和密码保存在与网站托管在同一服务器上的SQL数据库中.我想像登录www.codeporject一样登录/注销,在这里您使用我们的电子邮件和密码登录,然后保持登录状态,直到您单击退出"为止. 谢谢.
解决方案如果您想支持网站中的角色管理,Microsoft提供了一些您可能希望查看的便捷功能.您需要查看的一件事是角色提供程序.阅读此 [ ^ ],以了解如何使用角色提供程序以及如何链接 Hello, 对于此查询,您必须使用登录控制 她的例子,请帮助自己 登录控件示例 谢谢&问候 基数:)
Hi I am new in ASP.NET. I am making a school website where students can log in and out with their ID and password. Student IDs and passwords are saved in a SQL database that is on the same server on which website is hosted. I want to log in/out like on www.codeporject, where you log in with our email and password and then remain signed in until you click on ''Sign out''. Thank you.
解决方案 If you want to support role management in your website, Microsoft have provided some handy features that you might want to look at. One thing you need to look at is the Role Provider. Have a read of this[^] to see how to use the role provider, and how to link it to the login controls.Hello, For this query you have to use login control Hers an example for that, please help your self Login control examples Thanks & Regards Radix :)更多推荐
具有登录和注销权限的网站
发布评论