ASP.NET HTTPContext当前用户身份在Firefox中为空,但不是IE11和Chrome

时间:2015-11-14 13:46:40

标签: asp.net-mvc httpcontext

HttpContext.Current.User.Identity可以与IE11和Chrome一起使用,但在我尝试调用的时候在Firefox中使用:

HttpContext.Current.User.Identity

它返回null。我在Firefox中启用了cookie。 有什么想法为什么Firefox无法找到当前用户?

下图显示了请求

enter image description here enter image description here

0 个答案:

没有答案