如何从一个项目登录到另一个项目 [英] how to log in in from one project to another project

查看:88
本文介绍了如何从一个项目登录到另一个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们



我在实施项目时遇到了一些问题。问题如下: -



考虑一个项目管理员面板: - 它可以通过管理员控制所有网页。

另一个项目网络面板: - 该项目使用了所有可以成为该项目成员的用户。



他们对两个项目有不同的域名。

例如,如果您考虑了网页项目,那么域名是:-www.codeproject.com

和另一个域是admin.codeproject.com

两个项目都处理相同的数据库。



问题出现了我想要在这种类型中设计这个项目我从web项目注册转到

另一个项目它意味着管理项目。

例如: - 如果我在www上签名。 codeproject.com然后转到主页(admin)中的admin.codeproject.com。



请尽快给我信息如何解决这个问题.. < br $> b $ b

谢谢你提前!!

Dear friends

I have some problem when implements project.The problem is as follows :-

Consider one project Admin Panel :-It can control all the web pages by admin.
another one project web panel :-This project used all the user who can members of this project.

They have different domain for two project .
For example if you have consider webpages project so domain name is :-www.codeproject.com
and another domain is admin.codeproject.com
Both project handled same database.

The problem is happend i want to design this project in this type i sign up from web project go to
another project it means admin project.
for example :-if i am sign on www.codeproject.com then go to admin.codeproject.com in home page(admin).

Please give me information how to solve this problem as soon as possible..

Thanks in advanced !!

推荐答案

你有很多选择如何解决这个问题。

用户登录后你会得到他们的凭据和访问权限是允许的。然后有2个然后询问用户他们想要访问哪个。



使用户拥有2套凭证,每个目的地1个。



我所做的是假设目的地不太安全,如果用户有管理员权限我会显示一个按钮来访问网站的管理部分
You have a number of choices on how to solve this.
After the user has logged on you get their credentials and the accesses they are allowed. Ithere there are 2 then ask the user which on they want to access.

Make the user have 2 sets of credentials, 1 for each destination.

What I do is assume the the less secure sight is the destination and if the user has admin rights I show a button to access the admin portion of the site


这篇关于如何从一个项目登录到另一个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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