【发布时间】:2011-06-21 13:48:24
【问题描述】:
在aspx.net中,有什么区别
Context.User.Identity.Name
和
HttpContext.Current.User.Identity.Name
我目前正在使用母版页中的Context.User.Identity.Name,并且遇到了混淆用户身份的问题(用户 A 看到了用户 B 的数据)。这可能是问题的根源吗?
【问题讨论】:
标签: asp.net session forms-authentication