且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

具有登录和注销权限的网站

更新时间:2023-12-04 16:34:48

如果您想支持网站中的角色管理,Microsoft提供了一些您可能希望查看的便捷功能.您需要查看的一件事是角色提供程序.阅读 [登录控件示例
谢谢&问候
基数:)


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.com, 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 :)