Professional Web Applications Themes

Logged in user? - ASP

I need some asp code that can give me the user that is logged on to the PC, can anyone help? Regards Betina...

Sponsored Links
  1. #1

    Default Logged in user?

    I need some asp code that can give me the user that is logged on to the PC,
    can anyone help?

    Regards Betina


    Sponsored Links
    Betina Y Andersen Guest

  2. #2

    Default Re: Logged in user?

    Request.Servervariables("LOGON_USER")

    Meindert, MCP

    "Betina Y Andersen" <bylegdatainform.dk> wrote in message
    news:#phoA0NgDHA.956TK2MSFTNGP09.phx.gbl...
    > I need some asp code that can give me the user that is logged on to the
    PC,
    > can anyone help?
    >
    > Regards Betina
    >
    >

    PB4FUN Guest

  3. #3

    Default Re: Logged in user?

    Hi Meindert

    I cannot use that because it is empty :-(

    Regards Betina

    "PB4FUN" <this_adressdoesnot.exist> skrev i en meddelelse
    news:urKPOpOgDHA.2292TK2MSFTNGP10.phx.gbl...
    > Request.Servervariables("LOGON_USER")
    >
    > Meindert, MCP
    >
    > "Betina Y Andersen" <bylegdatainform.dk> wrote in message
    > news:#phoA0NgDHA.956TK2MSFTNGP09.phx.gbl...
    > > I need some asp code that can give me the user that is logged on to the
    > PC,
    > > can anyone help?
    > >
    > > Regards Betina
    > >
    > >
    >
    >

    Betina Y Andersen Guest

  4. #4

    Default Re: Logged in user?

    Sometimes it is empty, but not allways.
    But I have seen some entries in the results that were not empty.
    (I stored them all in a DB)

    It might have been this only works in a LAN.

    Meindert, MCP
    > Hi Meindert
    >
    > I cannot use that because it is empty :-(
    >
    > Regards Betina
    >
    > "PB4FUN" <this_adressdoesnot.exist> skrev i en meddelelse
    > news:urKPOpOgDHA.2292TK2MSFTNGP10.phx.gbl...
    > > Request.Servervariables("LOGON_USER")
    > >
    > > Meindert, MCP
    > >
    > > "Betina Y Andersen" <bylegdatainform.dk> wrote in message
    > > news:#phoA0NgDHA.956TK2MSFTNGP09.phx.gbl...
    > > > I need some asp code that can give me the user that is logged on to
    the
    > > PC,
    > > > can anyone help?
    > > >
    > > > Regards Betina
    > > >
    > > >
    > >
    > >
    >
    >

    PB4FUN Guest

  5. #5

    Default Re: Logged in user?

    If your IIS is set to use Basic Authentication or Windows Authentication
    then LOGON_USER is populated.

    Clearly, this will only work (practically) in an enclosed environment--such
    as an intranet.



    "PB4FUN" <this_adressdoesnot.exist> wrote in message
    news:ezREGhPgDHA.2300TK2MSFTNGP10.phx.gbl...
    > Sometimes it is empty, but not allways.
    > But I have seen some entries in the results that were not empty.
    > (I stored them all in a DB)
    >
    > It might have been this only works in a LAN.
    >
    > Meindert, MCP
    >
    > > Hi Meindert
    > >
    > > I cannot use that because it is empty :-(
    > >
    > > Regards Betina
    > >
    > > "PB4FUN" <this_adressdoesnot.exist> skrev i en meddelelse
    > > news:urKPOpOgDHA.2292TK2MSFTNGP10.phx.gbl...
    > > > Request.Servervariables("LOGON_USER")
    > > >
    > > > Meindert, MCP
    > > >
    > > > "Betina Y Andersen" <bylegdatainform.dk> wrote in message
    > > > news:#phoA0NgDHA.956TK2MSFTNGP09.phx.gbl...
    > > > > I need some asp code that can give me the user that is logged on to
    > the
    > > > PC,
    > > > > can anyone help?
    > > > >
    > > > > Regards Betina
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Tom B Guest

  6. #6

    Default Re: Logged in user?

    Tom B wrote:
    > If your IIS is set to use Basic Authentication or Windows
    > Authentication then LOGON_USER is populated.
    >
    But only if Anonymous is turned off.

    Bob Barrows


    Bob Barrows Guest

  7. #7

    Default Re: Logged in user?

    I do not have the ability to control my users IIS, unfortunately so therefor
    I cannot use the servervariables.

    regards Betina

    "Bob Barrows" <reb01501NOyahoo.SPAMcom> skrev i en meddelelse
    news:eCMsSeQgDHA.2172TK2MSFTNGP09.phx.gbl...
    > Tom B wrote:
    > > If your IIS is set to use Basic Authentication or Windows
    > > Authentication then LOGON_USER is populated.
    > >
    > But only if Anonymous is turned off.
    >
    > Bob Barrows
    >
    >

    Betina Y Andersen Guest

  8. #8

    Default Re: Logged in user?

    Then you are stuck asking them for that information.


    "Betina Y Andersen" <bylegdatainform.dk> wrote in message
    news:ekZ$h3QgDHA.3700TK2MSFTNGP11.phx.gbl...
    > I do not have the ability to control my users IIS, unfortunately so
    therefor
    > I cannot use the servervariables.
    >
    > regards Betina
    >
    > "Bob Barrows" <reb01501NOyahoo.SPAMcom> skrev i en meddelelse
    > news:eCMsSeQgDHA.2172TK2MSFTNGP09.phx.gbl...
    > > Tom B wrote:
    > > > If your IIS is set to use Basic Authentication or Windows
    > > > Authentication then LOGON_USER is populated.
    > > >
    > > But only if Anonymous is turned off.
    > >
    > > Bob Barrows
    > >
    > >
    >
    >

    Tom B Guest

Similar Threads

  1. If user logged in statement?
    By barbedwire103 in forum Dreamweaver AppDev
    Replies: 4
    Last Post: April 2nd, 08:55 PM
  2. Replies: 4
    Last Post: August 17th, 10:45 PM
  3. Check if user is already logged in
    By fr? in forum PHP Programming
    Replies: 7
    Last Post: October 15th, 04:37 AM
  4. Recognise a logged in user
    By KingWiggi in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: October 13th, 03:20 PM
  5. Identify logged on user
    By Nick Howarth in forum Microsoft Access
    Replies: 1
    Last Post: July 22nd, 09:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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