Microsoft KB Archive/188717

From BetaArchive Wiki
Knowledge Base

PRB: Request.ServerVariables("LOGON_USER") Returns Empty String

Article ID: 188717

Article Last Modified on 6/16/2006


  • Microsoft Active Server Pages 2.0
  • Microsoft Active Server Pages 3.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0

This article was previously published under Q188717


Accessing the Request.ServerVariables("LOGON_USER") variable from Active Server Pages (ASP) returns an empty string.


The LOGON_USER variable is not populated if you use the Allow Anonymous security to access the ASP page.

In order for the LOGON_USER variable to be populated, the user must be authenticated using either Basic or NT Challenge/Response security.


This behavior is by design.

Additional query words: allow anonymous LOGON_USER ASP ServerVariables Request

Keywords: kbprb kbscript kbsecurity KB188717