HttpContext.Current.Request.LogonUserIdentity.Name return null on publishing in IIS server

前端 未结 0 1543
天命终不由人
天命终不由人 2021-02-20 12:23

I have used Form authentication and wanted to get the windows username in my MVC application. It is working fine when I am running in Debug mode(on localhost), but when I publis

相关标签:
回答
  • 消灭零回复
提交回复
热议问题