为什么 IIS 将 URL 重定向到临时路径

why is IIS redirecting URL to temp path

为什么 IIS 从

重定向我的请求

http://edit.example.com/login.aspx

http://edit.example.com/(S(fct2ftjw4s41evr0cvflz00k))/login.aspx

开发中也会发生这种情况,使用 iis express 和 localhost。

它正在 url 中显示会话状态。

看看 https://msdn.microsoft.com/en-us/library/aa479314.aspx

您需要设置

<sessionState cookieless="false" />

在web.config 文件中。