Infinite redirect loop for Basic or Windows authentication?

前端 未结 5 705
长发绾君心
长发绾君心 2021-02-01 23:03

I am working on a new ASP.NET application. On IIS8, if I disable Anonymous access and enable Basic or Windows authentication, it goes into an infinite redirect loop and lands at

5条回答
  •  我在风中等你
    2021-02-01 23:43

    Check "idle time out" minuets in your IIS application pool , advanced settings. if its not greater than your system session time out , set it to a number which is more.

    for example if you have set session time out value to 30 , make "idle time out" minuets in your IIS application pool to something more than 30+. default "idle time out" minuets in your IIS application pool is normally 20.

提交回复
热议问题