How Can I Run Scripts to Get Client Info?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vunet.us@gmail.com

    How Can I Run Scripts to Get Client Info?

    Hi,
    My web application needs to retrieve some client's info, such as MAC
    address, IP, OS, etc.
    Java Applet does it well (with one time security warning). But if Java
    is not installed, I am unable to run applet.
    So, I need to find the equivalent in, perhaps, VBScript.
    The question is: how can I read client's MAC address, IP, OS, etc.
    through web interface on, mostly, Windows OS? Is it something like VBS
    file? Or EXE file only? Any ideas?

    Thank you

  • Mudiya Dissa

    #2
    Re: How Can I Run Scripts to Get Client Info?



    Use the server variables.

    you have to use

    <%

    strIpAddress = Request.ServerV ariables("Remot e_ADDR") 'for the IP
    'can't remember for OS and MAC
    %>

    *** Sent via Developersdex http://www.developersdex.com ***

    Comment

    • Bob Barrows [MVP]

      #3
      Re: How Can I Run Scripts to Get Client Info?

      vunet.us@gmail. com wrote:
      Hi,
      My web application needs to retrieve some client's info, such as MAC
      address, IP, OS, etc.
      Java Applet does it well (with one time security warning). But if Java
      is not installed, I am unable to run applet.
      So, I need to find the equivalent in, perhaps, VBScript.
      The question is: how can I read client's MAC address, IP, OS, etc.
      through web interface on, mostly, Windows OS? Is it something like VBS
      file? Or EXE file only? Any ideas?
      >
      Thank you
      This will show you what's available:

      <%
      for each key in request.serverv ariables
      response.write "request.server variables(""" & key & _
      """) contains """ & request.serverv ariables(key) & """<BR>"
      next
      %>
      --
      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.


      Comment

      • vunet.us@gmail.com

        #4
        Re: How Can I Run Scripts to Get Client Info?

        On Apr 27, 11:43 am, Mudiya Dissa <mudit...@gmail .comwrote:
        Use the server variables.
        >
        you have to use
        >
        <%
        >
        strIpAddress = Request.ServerV ariables("Remot e_ADDR") 'for the IP
        'can't remember for OS and MAC
        %>
        >
        *** Sent via Developersdexht tp://www.developersd ex.com***
        Sorry, but I need access to mac address and OS more than IP. I need to
        do it with some script running locally on user's PC. It has nothing to
        do with ASP and ASP does not allow retriving this info. Hoever, thanks
        for trying.

        Comment

        Working...