Asp.Net 跨多个 Web 应用程序共享会话?

发布于 2024-09-06 21:10:00 字数 411 浏览 4 评论 0原文

我必须在两个不同的 Asp.Net 应用程序之间共享会话数据。 Web应用程序的部署如下所示。

 WebSite
    --WebApp1
    --WebApp2

我必须在 WebApp1WebApp2 之间使用相同的会话数据。此外,WebApp1 和 WebApp2 都共享相同的(www.WebSite.com) 和 AppPool

使这两个网站共享会话状态数据的最简单方法是什么?

我可以使用 Asp.Net State Server 来 在上述两个WebApp之间共享Session数据?

I have to share session data between two different Asp.Net Application. The deployment of web apps are as shown below.

 WebSite
    --WebApp1
    --WebApp2

I have to use same Session data between WebApp1 and WebApp2. Also WebApp1 and WebApp2 both share the same Domain(www.WebSite.com) and AppPool

What is the easiest way to make these two WebSite share the Session State data?

Can I use Asp.Net State Server to
share the Session data between the above two WebApps?

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

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

发布评论

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

评论(1

你又不是我 2024-09-13 21:10:00

您可以使用 stateserver 将会话状态存储在内存中,有关更多详细信息转到此处< /a>

you can use stateserver which stores the session state in memory, for more details go here

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