Forum Moderators: open
Public Function utilGetMachineName()
Set oWSHNetwork = CreateObject("WScript.Network")
retVal = oWSHNetwork.ComputerName
set oWSHNetwork = Nothing
utilGetMachineName = retVal
End Function
Response.Write utilGetMachineName()
It never fails me... sometimes the server variables do.
Based on the machine name you can draw your url...