You'd have to use the server to resolve the name of the IP address of the
client machine. Here's a flakey method that may work most of the time.
<%
Dim sIP
Dim oShell, oExec, sCommand, sOutput
sIP = Request.ServerV ariables("REMOT E_ADDR")
sCommand = "%comspec% /c @echo off & for /f ""tokens=2" " %q in ('ping -n
1 -a " & sIP & "^|find /i ""pinging"" ') do echo %q"
Set oShell = Server.CreateOb ject("WScript.S hell")
Set oExec = oShell.Exec(sCo mmand)
sOutput = sOutput & oExec.StdOut.Re adAll
Set oExec = Nothing
Set oShell = NOthing
Response.WRite sOutput
%>
Ray at work
"Ryd" <ry******@hotma il.com> wrote in message
news:68******** *************** **@posting.goog le.com...
I'm looking for at asp script that grap the clients computername when
they access a local http site. The client and server is in a local
domaine.