
Getting client side machine's name.
1) if run on the server, that returns the server's machine name.
2) if run on the client, it _would_ return the client's machine name _assuming_ an IE browser _and_ sufficiently lowered security to allow it.
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--
Quote:
> I actually did that, although I was not looking for it. This can be as a vb
> script or you can run it from ASP.
> Function GetComputerName()
> dim ws
> Set ws = WScript.CreateObject("WScript.Network")
> WScript.Echo "Computer Name: " & Ws.ComputerName
> ws = ws.ComputerName
> GetComputerName = ws
> End Function
> Response.Write(GetComputerName())
> > Is it possible to get the client machine's name w/ server side ASP or
> client
> > side VBscript?