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

ID: Q188717


The information in this article applies to:
  • Active Server Pages
  • Microsoft Internet Information Server versions 4.0, 5.0


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 the ASP page is accessed using Allow Anonymous security.

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.


REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

Q142868 IIS: Authentication & Security Features

Additional query words: allow anonymous LOGON_USER ASP ServerVariables Request kbASP

Keywords : kbASP kbASPObj kbScript kbSecurity kbGrpASP kbiis400 kbiis500
Version : winnt:
Platform : winnt
Issue type : kbprb


Last Reviewed: December 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.