Automatic Login - Forms Authentication - Request.ServerVariables["LOGON_USER"]

Discussion in 'ASP .Net Security' started by Charles Evans, Sep 10, 2003.

  1. Hi there,

    I'm busy building a site that authenticates users from a database but would
    like Windows authenticated users to bypass the logon screen by having their
    logon name stored in the database. The problem I have been experiencing is
    that whenever anonymous access is switched on, the LOGON_USER server
    variable returns blank. I'm presuming that this is because IIS uses
    anonymous access before any other means of authentication. If I turn
    anonymous access off, external users are prompted for a user name and
    password when they arrive at the logon screeen and if I turn it on, I cannot
    pick up their logon name via the LOGON_USER server variable.

    Is there any way to achieve this or am I just chasing the impossible
    dream???

    Thanks in advance,
    Charles
    Charles Evans, Sep 10, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. T.
    Replies:
    7
    Views:
    15,801
    RiaanBod
    Apr 28, 2011
  2. Amitava Bardhan
    Replies:
    1
    Views:
    2,881
    Marina
    May 17, 2005
  3. =?Utf-8?B?THluZXJz?=
    Replies:
    0
    Views:
    1,386
    =?Utf-8?B?THluZXJz?=
    Dec 5, 2005
  4. Replies:
    1
    Views:
    1,559
    Göran Andersson
    Nov 29, 2008
  5. Jeff Cochran
    Replies:
    2
    Views:
    453
    Jeff Cochran
    Jan 9, 2006
Loading...

Share This Page