File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Languages and the fly likes check client machine name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "check client machine name" Watch "check client machine name" New topic

check client machine name

Ha Au

Joined: Mar 04, 2003
Posts: 1
how can i check the machine name of each client who use the IE browser?
any method to handle it if using asp programming?
and, how this code:
var WshNetwork = Wscript.CreateObject("WScript.Network");
WScript.Echo("Domain = " + WshNetwork.UserDomain);
WScript.Echo("Computer Name = " + WshNetwork.ComputerName);
WScript.Echo("User Name = " + WshNetwork.UserName);
how can i use this javascript?? i have tried to include this code into a javascript function, but it always have error abt "Wscript" is undefined.
pls help. thx in advance!
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Ha,
This topic needs to go to the OO Scripting forum.
I'm going to move it there.
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I agree. Here's the link:
subject: check client machine name
It's not a secret anymore!