How Can I Run Scripts to Get Client Info?
How Can I Run Scripts to Get Client Info?
am 27.04.2007 16:39:24 von vunet.us
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
Re: How Can I Run Scripts to Get Client Info?
am 27.04.2007 17:43:21 von Mudiya Dissa
Use the server variables.
you have to use
<%
strIpAddress = Request.ServerVariables("Remote_ADDR") 'for the IP
'can't remember for OS and MAC
%>
*** Sent via Developersdex http://www.developersdex.com ***
Re: How Can I Run Scripts to Get Client Info?
am 27.04.2007 18:08:41 von reb01501
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.servervariables
response.write "request.servervariables(""" & key & _
""") contains """ & request.servervariables(key) & """
"
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.
Re: How Can I Run Scripts to Get Client Info?
am 27.04.2007 18:14:16 von vunet.us
On Apr 27, 11:43 am, Mudiya Dissa wrote:
> Use the server variables.
>
> you have to use
>
> <%
>
> strIpAddress = Request.ServerVariables("Remote_ADDR") 'for the IP
> 'can't remember for OS and MAC
> %>
>
> *** Sent via Developersdexhttp://www.developersdex.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.