【问题标题】:windows identity foundation / update panel / error 401Windows 身份基础/更新面板/错误 401
【发布时间】:2012-05-09 09:45:04
【问题描述】:

我最近使用 wif 创建了一个声明感知网络应用程序。 这个应用程序包含一个动态加载用户控件的更新面板,一切似乎都很好,但有时当应用程序为更新面板执行异步请求时,我会收到 401 错误,但 fedauth cookie 仍然存在并且具有有效的生命周期,也sts 会话 cookie。 我试图实现滑动会话,但错误似乎仍然存在 徘徊,如果有人可以在这里提供一些启示。

顺便说一句,我在客户端应用程序上的 web.config 看起来像这样

<federatedAuthentication>
    <wsFederation passiveRedirectEnabled="true" persistentCookiesOnPassiveRedirects="true" issuer="https://stsissuerurl" realm="http://webapp.com" requireHttps="false" />
    <cookieHandler requireSsl="false" persistentSessionLifetime="05:00:00" />
  </federatedAuthentication>    

问候

【问题讨论】:

    标签: asp.net updatepanel wif


    【解决方案1】:

    您是否启用了 WIF 跟踪并查看是否有任何线索? WIF Tracing

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-01
      • 1970-01-01
      相关资源
      最近更新 更多