如何在asp.net MVC中将单个登录页面用于不同目的? [英] how do I use single login page for different purpose in asp.net MVC?

查看:60
本文介绍了如何在asp.net MVC中将单个登录页面用于不同目的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道创建一个登录页面但是从该页面管理员和成员也可以使用他们的用户名和密码登录。在当管理员通过他们的用户名和密码登录时,主页将打开,当成员通过他们的用户名和密码登录时,他/她只能查看他/她的信息。

所有这些应该是单页完成。





这里,如果用户名和密码与特定成员的匹配,我想从数据库中检查每个成员的用户名和密码记录,然后它将获取该成员的尊重数据....



请帮助!!如果有人知道这个..或建议一些艺术品或网站,我可以理解这...

I wanted to Know to create a single login page but from that page admin and member also can login using their username and password. In that When Admin login by their username and password then the home page will be open and when member login by their username and password then he/she can view only his/her information.
All these should be done by single page.


Here, I wanted to check each member’s username and password from database if username and password match with particular member’s record, then it will fetch the respected data of that member….

Please help!! If anybody know about this..or suggest some articals or sites from that I can understand this…

推荐答案

这篇关于如何在asp.net MVC中将单个登录页面用于不同目的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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