DotNetNuke:如何单次登录到多个门户

发布于 2024-08-12 15:25:21 字数 219 浏览 3 评论 0原文

我有一个 Dotnetnuke 环境,其中多个门户在不同的子域(serviceA.company.com、serviceB.company.com)上运行。我可以通过向 UserPortals 表添加行来允许用户访问每个门户,但由于 DNN 在身份验证 cookie 中使用完整域名,因此用户需要单独登录到每个门户。

我希望系统能够正常运行,以便您只需在某些门户上登录一次,而无需在其他门户上登录。这可能吗?

I have a Dotnetnuke environment with multiple portals running at different subdomains (serviceA.company.com, serviceB.company.com). I can allow users the access to each portal by adding rows to UserPortals table, but since DNN uses full domain name in the auth cookie, the users need to log separately to each portal.

I'd like to have the system working so, that you only need to log in once on some of the portals, and wouldn't have to log in on the others. Is this possible?

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

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

发布评论

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

评论(1

柠檬色的秋千 2024-08-19 15:25:21

这可以通过更改 web.config 来实现。

我已经有一段时间没有这样做了,但我认为您需要更改以下



我可能会关闭该设置,但有一种方法可以在网络配置。让我知道这是否有效。

This is possible by changing the web.config.

It's been a while since I did this, but I think you need to change the following

<httpCookies httpOnlyCookies="true" requireSSL="false" domain="" />
to
<httpCookies httpOnlyCookies="true" requireSSL="false" domain="*.company.com" />

I might be off on the setting, but there is a way to do this in the web.config. Let me know if that works.

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