Live Chat Icon For mobile
Live Chat Icon

Request.ServerVariables(‘LOGON_USER’) always returns empty string in Framework 1.1 . Why? It worked fine in ASP

Platform: ASP.NET| Category: Miscellaneous

If Request.ServerVariables(‘LOGON_USER’) is returning an empty string, the problem is probably that your app allows anonymous users.

To change this:

  • Open IIS manager
  • right-click on your app name and choose properties
  • Click on directory security tab
  • Edit Authentication and Access Control
  • Uncheck ’Enable anonymous’.

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.