Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to get visitor's network id and computer name?

    Is there a way to identify from an ASP page the visitor's network username and their computer name? We tried using server variable AUTH_USER and it returns nothing. Can someone please point us in the right direction?

    Steve M.
    Fort Worth, TX

  • #2
    Regular Coder
    Join Date
    Mar 2007
    Posts
    505
    Thanks
    1
    Thanked 19 Times in 19 Posts
    If it's outside your domain, no.

    That information is not passed in the TCP/IP stack, unless strictly specified.
    To say my fate is not tied to your fate is like saying, 'Your end of the boat is sinking.' -- Hugh Downs
    Please, if you found my post helpful, pay it forward. Go and help someone else today.

  • #3
    New Coder
    Join Date
    Jan 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OK, this is on an intranet, so it's all on the same domain.

    Is AUTH_USER the right way to go and if so, what are some things that might keep it from returning anything?

  • #4
    Regular Coder
    Join Date
    Mar 2007
    Posts
    505
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Do you have static IPs or are you on DHCP?

    If you are on static, then use Request.ServerVariables("REMOTE_HOST"). Then just use your Static IP Tables to do the host lookup.

    If you are on DHCP, then you need to delve into Authentication Methods.Try turning off Anonymous Access to your website and use either BASIC, DIGEST, or INTEGRATED WINDOWS accounts. That will return the information you are looking for.
    To say my fate is not tied to your fate is like saying, 'Your end of the boat is sinking.' -- Hugh Downs
    Please, if you found my post helpful, pay it forward. Go and help someone else today.


  •  

    Posting Permissions

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