mvc5 集成windows验证 IE下第一次访问 Context.User 始终为空
mvc5 IIS Express 设置为集成windows验证,关闭匿名登录
通过 Global.asax.cs 重写用户信息
protected override void Application_AuthenticateRequest(object sender, EventArgs e)
但使用 IE 访问时,第一次打开页面 Context.User 始终为空,若不对 Context.User 重新赋值,系统就会不断循环授权并导致 Url 超长
该如何解决,在线等