Groups | Blog | Home
all groups > inetserver asp general > april 2007 >

inetserver asp general : How Can I Run Scripts to Get Client Info?


vunet.us NO[at]SPAM gmail.com
4/27/2007 7:39:24 AM
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
4/27/2007 8:43:21 AM


Use the server variables.

you have to use

<%

strIpAddress = Request.ServerVariables("Remote_ADDR") 'for the IP
'can't remember for OS and MAC
%>

vunet.us NO[at]SPAM gmail.com
4/27/2007 9:14:16 AM
[quoted text, click to view]

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.
Bob Barrows [MVP]
4/27/2007 12:08:41 PM
[quoted text, click to view]
This will show you what's available:

<%
for each key in request.servervariables
response.write "request.servervariables(""" & key & _
""") contains """ & request.servervariables(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.

AddThis Social Bookmark Button