joecool2005 Posted July 10, 2007 Share Posted July 10, 2007 Hi,Is it possible to get user's machine name?Thx Link to comment Share on other sites More sharing options...
aspnetguy Posted July 10, 2007 Share Posted July 10, 2007 VB Request.ServerVariables("REMOTE_HOST") C# Request.ServerVariables["REMOTE_HOST"]; Link to comment Share on other sites More sharing options...
joecool2005 Posted July 10, 2007 Author Share Posted July 10, 2007 Thanks for your help.By using Request.ServerVariables("REMOTE_HOST"), it returned the IP address.Is there a way to get the computer name?thx Link to comment Share on other sites More sharing options...
aspnetguy Posted July 10, 2007 Share Posted July 10, 2007 Request.ServerVariables("REMOTE_HOST") will give you the machine name (ifavailable.)Request.ServerVariables("REMOTE_ADDR") will give you the IP address of theclient machine. However, the true IP address may be masked by proxy serversso you can't entirely rely on it being unique. Link to comment Share on other sites More sharing options...
joecool2005 Posted July 10, 2007 Author Share Posted July 10, 2007 The machine name is available.It returned me this 127.0.0.1 by using Request.ServerVariables("REMOTE_HOST") Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.