简体   繁体   English

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

[英]Asp.Net sharing session across multiple web applications?

I have to share session data between two different Asp.Net Application. 我必须在两个不同的Asp.Net应用程序之间共享会话数据。 The deployment of web apps are as shown below. Web应用程序的部署如下所示。

 WebSite
    --WebApp1
    --WebApp2

I have to use same Session data between WebApp1 and WebApp2 . 我必须在WebApp1WebApp2之间使用相同的会话数据。 Also WebApp1 and WebApp2 both share the same Domain (www.WebSite.com) and AppPool 此外,WebApp1和WebApp2都共享相同的 (www.WebSite.com)和AppPool

What is the easiest way to make these two WebSite share the Session State data? 使这两个WebSite共享会话状态数据的最简单方法是什么?

Can I use Asp.Net State Server to share the Session data between the above two WebApps? 我可以使用Asp.Net状态服务器在上述两个WebApp之间共享会话数据吗?

您可以使用状态服务器将会话状态存储在内存中,有关更多详细信息, 请转到此处

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM