为什么取不到HttpContext.Current.User.Identity.Name值?郁闷

问题找到, 是因为我没有在IIS中设置不能匿名登录,把这个取消了就行了。

原文地址:https://www.cnblogs.com/binaryworms/p/1731617.html