【问题标题】:Session sharing with StateStitch and AppFabric与 StateStitch 和 AppFabric 的会话共享
【发布时间】:2012-04-27 16:39:38
【问题描述】:

我们有一个带有 ASP 和 ASP.NET 的应用程序。我们使用 StateStitch 进行会话共享和状态服务器设置以保持(缓存)会话。

现在我们要使用 AppFabric 实现高可用性和分布式缓存。

唯一的问题是:AppFabric 需要 <sessionState mode="custom"> 而 StateStitch 需要 <...mode="StateServer">(web.config 中的标签)

你们中有人知道如何从这里继续前进吗?似乎无法将 AppFabric 实现为 //typeof(StateServer) 并且似乎无法让 StateStitch 接受自定义设置。

任何想法,最好利用上述技术中的一种/两种... 寻找免费的解决方案:-)

【问题讨论】:

    标签: session caching appfabric high-availability


    【解决方案1】:

    修复它。

    StateStitch 中的硬编码声明,在 StateServer 上验证并在 Custom 上失败。 解决方案:在

    中添加“自定义”
    If (Mode.StateServer || Mode.Custom) { Validated = true; }
    

    【讨论】:

      猜你喜欢
      • 2015-08-28
      • 2010-09-27
      • 2012-05-15
      • 1970-01-01
      • 2013-09-22
      • 1970-01-01
      • 2011-02-19
      • 1970-01-01
      • 2018-05-30
      相关资源
      最近更新 更多