将UserControl值维护到多个应用程序中 [英] Maintaining UserControl Value into more than one application

查看:89
本文介绍了将UserControl值维护到多个应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个用户控件,即 TopBar ,在那个 UserControl 中,我有一个登录控件并要求输入用户名,我现在是否要从 Application1输入登录详细信息,那么它也应该可以在 Application2 UserName 中访问,因为 UserControl 在两个应用程序中都是相同的.
因此,建议我

Hi,

I''ve a usercontrol i.e. TopBar and in that UserControl i''ve a login Control and ask for username now i want if I entered login details from Application1 then it should also be accessible into Application2 i.e UserName because UserControl is same in both applications.
So suggest me the way

推荐答案

如果您使用的是asp.net,如标签所示,那么我认为您需要了解单点登录的概念.
在CP上查看这些文章以获取信息:
子域之间的单点登录:表单身份验证 [ ^ ]
.NET的单点登录(SSO) [如何使用企业单一登录(SSO)数据库存储BizTalk配置设置 [ ^ ]
跨域ASP.NET应用程序的单点登录(SSO):第二部分-实现 [ ^ ]
If you are using asp.net as your tag indicates, then I believe you need to understand the concept of single sign on.
Check out these articles here on CP for information:
Single Sign On between sub domains : Forms Authentication[^]
Single Sign-On (SSO) for .NET[^]
How to Use Enterprise Single Sign-On (SSO) Database to Store BizTalk Configuration Settings[^]
Single Sign On (SSO) for cross-domain ASP.NET applications: Part-II - The implementation[^]


这篇关于将UserControl值维护到多个应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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