Discussion Locked
0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I was wondering how to use VB or ASP to grab the name of a computer from the registery when a user on the Intra net hits the main page??
5 replies
by c-wundram
I assume that you want to get the hostname of the client machine and not of the web server. You can do this easily with ASP, the Reqeust.ServerVariables enumeration has the ip address of the client.
The following example will display the IP ofthe client machine.
<%
stIP = Request.ServerVariables("REMOTE_ADDR")
%>
IP = <%=stIP%>
by mhayes
The question was auto-closed by TechRepublic
by mhayes
This question was auto closed due to inactivity
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
0 helpful
1 reply
0 helpful
1 reply
0 helpful
1 reply
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply