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

编程入门 行业动态 更新时间:2024-10-07 20:37:04
本文介绍了具有登录和注销权限的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨 我是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 :)

更多推荐

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

本文发布于:2023-11-25 21:03:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1631335.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:权限   网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!