How to get client domain name with asp

Discussion in '.NET' started by cymy, May 7, 2018.

  1. cymy

    cymy

    Joined:
    Jan 15, 2018
    Messages:
    2
    Likes Received:
    0
    Hi all,
    I need to get the domain name from my client that is attempting to my page.

    i have try Request.ServerVariables("REMOTE_HOST") but i only able to get client ip address. I know that if my server enable anonymous authentication on IIS then i can only get ip address instead of domain name for this Request.ServerVariables ("REMOTE_HOST"). I have try a lot of other method but most of them is to get self server domain name, but what i want is to get client server domain name instead of mine.

    I need to solve this issue as soon as possible, please help me on this,
    Thank you very much!
     
    cymy, May 7, 2018
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.