faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

95 of 136 people (70%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

How do I get the machine name (workgroup name) in ASP for tracking purposes?

Feb 27th, 2003 05:06
Sachin P, Robin Paardekam, William Hargrave, http://www.x-istech.com


******************************************
WORKS FINE NO MATTER WHATEVER IIS YOU HAVE.BE SURE TO HAVE WINDOWS 
SCRIPTING HOST INSTALLED ON SERVER
*****************************************
Set WshNetwork = server.CreateObject("WScript.Network") 
IntMachinName=WshNetwork.ComputerName
Response.write IntMachinName
******************************************************
******************************************



© 1999-2004 Synop Pty Ltd