简体   繁体   中英

windows identity foundation / update panel / error 401

i recently created a claim aware web app using wif. This app contains an update panel that loads dynamically user controls, everything seems to be ok, but sometimes i am getting a 401 error when the app does a async requet for the updatepanel , but the fedauth cookie is still there and with valid lifetime, also the sts session cookie. I tried to implement sliding sessions but the error seems to be still there wandering if someone could shed some light here.

Btw, my web.config on the client app, looks like this

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

regards

Have you enabled WIF tracing and seen if any clues there? WIF Tracing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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