开发者

IIS6 - Users login and then get redirected to login page, have to reboot their PCs to break this loop, then fine

开发者 https://www.devze.com 2022-12-17 06:59 出处:网络
This is an odd issue. We have forms auth for a site, and we recently adjusted the forms auth in web.config to include:

This is an odd issue.

We have forms auth for a site, and we recently adjusted the forms auth in web.config to include:

<authorization>
  <deny users="?" />
</authorization>
<authentication mode="Forms">
  <forms name="ourCookie"
  loginUrl="~/../Default.aspx"
  protection="All"
  path="/"
  domain="ourdomain.com"/>
</authentication>

Then the specified machinekey validation and decryption strings.

The one above is for a sub site, hence the ~/../

The main site just has "Default.aspx"

Anyway a small number of our users are having issues where they login to the main site and get bounced back to the login page.

Our log seems to show the user successfully logging in, but it just redirects them right back to the login pa开发者_JAVA技巧ge.

IF they restart their PC, then they seem to be fine.

Thoughts???

Thank you.


Perhaps the caching directives on the Redirect are invalid? You might want to try looking at the sequence with a web debugger like Fiddler (www.fiddler2.com)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号