This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
How to allow only some computers to access the web application in internet?
How to disable browser back button
Microsoft SOAP vs Oracle/Apache SOAP
WSH? Any Answers?!?
Getting Computer Name using JNI