我有三个不同的网站,我想为所有这些网站创建一个入口点,但是如何做呢?

发布于 2024-10-10 10:15:35 字数 379 浏览 0 评论 0原文

我们正在使用 asp.net 创建三个不同的网站,但对于用户部分,我们希望实现一种方法,以便每个用户只需要在这三个网站中的任何一个网站中创建一个帐户,但也在其他网站中使用相同的帐户。 这是我的建议:

创建一个 useracount.website.com 服务器 然后将 sql 服务器放在那里并在那里实现核心用户帐户库,例如(创建/编辑/等...)

每当访问者需要拥有帐户或需要登录网站时,我们将把他重定向到 useracount.website .com 地址,他/她应该从该点登录。 为了维护用户的状态,我建议使用 cookie。

而所有这些场景都应该通过asp.net和sql来实现。

请让我知道最好的方法,因为我觉得我的不太好,特别是饼干部分。

干杯。

We are creating three different websites using asp.net but for the user part we want to implement an approach so that each user only need to create an account in any of these three sites but use the same account in other websites too.
here is what I've suggested :

create a
useracount.website.com server
then put the sql server there and implement core user account library there such as (creating/editing/etc...)

whenever a visitor needs to have an account or needs to login into out sites then we will redirect him to the useracount.website.com address and he/she should login from that point.
and for the maintaining the user's states I've suggested to using cookies.

and all of these scenarios should be implemented by asp.net and sql.

please let me know with best approach cause I feel mine is not that good specially the cookie part.

cheers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酷到爆炸 2024-10-17 10:15:35

搜索网络场中的单点登录

以下是简介

Search for Single Sign-on in Web Farms

Here is an Introduction

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文