Microsoft KB Archive/188717

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 12:40, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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

Article ID: 188717

Article Last Modified on 6/16/2006



APPLIES TO

  • 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

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.


Additional query words: allow anonymous LOGON_USER ASP ServerVariables Request

Keywords: kbprb kbscript kbsecurity KB188717