我有三个不同的网站,我想为所有这些网站创建一个入口点,但是如何做呢?
我们正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
搜索
网络场中的单点登录
以下是简介
Search for
Single Sign-on in Web Farms
Here is an Introduction