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



The information in this article applies to:

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

This article was previously published under Q188717

SYMPTOMS

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

CAUSE

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.

STATUS

This behavior is by design.

Modification Type:MinorLast Reviewed:6/16/2006
Keywords:kbprb kbScript kbSecurity KB188717