【发布时间】:2011-02-16 15:48:07
【问题描述】:
到目前为止
我已经把我的网站变成了一个应用程序。
我在 IIS6 上禁用了匿名
<authentication mode="Windows"/>
<identity impersonate="true"/>
在我的网络配置中
我两个都用
HttpContext.Current.User.Identity.Name
Request.LogonUserIdentity.Name.ToString
检索用户名。
问题是我被提示登录,我不希望用户必须登录,因为这是一个 Intranet。
【问题讨论】: