How can I get the logon name?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default How can I get the logon name?

    I'm using Basic Authentication for my web site - not great I know but I'm
    having to support devices like the Nokia 9210i which dosn't seem to like the
    digest information for windows domain servers.

    The question is that I would like to be able to somehow capture that logon
    username/id so that I can use it within the web site to track changes made
    by the user. I've thought about switching off authentication all together
    and writing my own logon asp page (query to an SQL database or something and
    then store the result in a session variable), but if I can somehow capture
    and access the basic authentication information, it would save me some work.

    I'm using good'ol ASP and not asp.net.

    Thx.


    Mystery Guest

  2. Similar Questions and Discussions

    1. Pls tell me the exact difference between "Audit Account Logon Events" and "Audit Logon Events"
      Gurus, Regarding auditing of domain logins by my network users, I am unclear of the advantages of auditing for "Audit Account Logon Events"...
    2. The difference between Audit Account Logon Events" and "Audit Logon Events"???
      Gurus, Regarding auditing of domain logins by my network users, I am unclear of the advantages of auditing for "Audit Account Logon Events"...
    3. Difference between Audit Account Logon Events" and "Audit Logon Events"???
      Gurus, Regarding auditing of domain logins by my network users, I am unclear of the advantages of auditing for "Audit Account Logon Events"...
    4. "...not allow you to logon interactively..." preventing my Logon
      Ok, I have tried rebooting in Safe Mode, and know that the Administrator account is still called "Administrator". However, even in safe mode, I...
    5. XP Logon screen: Logon to selection screen
      Is there a way that I can disable the logon to selection screen when I logon? I know that users can type username@domain.com, but that's not what I...
  3. #2

    Default Re: How can I get the logon name?

    Mystery wrote:
    > I'm using Basic Authentication for my web site - not great I know but
    > I'm having to support devices like the Nokia 9210i which dosn't seem
    > to like the digest information for windows domain servers.
    >
    > The question is that I would like to be able to somehow capture that
    > logon username/id so that I can use it within the web site to track
    > changes made by the user. I've thought about switching off
    > authentication all together and writing my own logon asp page (query
    > to an SQL database or something and then store the result in a
    > session variable), but if I can somehow capture and access the basic
    > authentication information, it would save me some work.
    >
    With Basic Authentication, Request.ServerVariables("AUTH_USER") should
    contain the name of the authenticated user.

    HTH,
    Bob Barrows

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139