Will192
02-26-2004, 01:41 PM
How can I get the user's machine name and store it in a table on the server?
|
Click to See Complete Forum and Search --> : Get user's machine name? Will192 02-26-2004, 01:41 PM How can I get the user's machine name and store it in a table on the server? Will192 02-26-2004, 01:48 PM I can get the user's ip address with the following command: ip = Request.ServerVariables("REMOTE_ADDR"); But I need the user's machine name, because the ip address changes every 21 days on our intranet. TheBearMay 02-26-2004, 02:17 PM I can't find it at the moment, but somewhere I saw a way of trapping the output of the NET CONFIG command. Will192 02-26-2004, 02:24 PM NET CONFIG will only give you the PC info for the PC that it is ran on. I need to be able to run code on the server and find out what the machine name is from an ip address. PeOfEo 02-26-2004, 04:22 PM Originally posted by Will192 NET CONFIG will only give you the PC info for the PC that it is ran on. I need to be able to run code on the server and find out what the machine name is from an ip address. so you need a client machine name? Or the server machine name. Now I am completly confused. buntine 02-26-2004, 06:19 PM Since ASP is completely processed on the server, aquiring the users machine name is probably not possible. ASP can only access the information which the client browser sends it on a page request, such as, the clients IP and Browser details. Regards, Andrew Buntine. PeOfEo 02-26-2004, 06:23 PM Originally posted by buntine Since ASP is completely processed on the server, aquiring the users machine name is probably not possible. ASP can only access the information which the client browser sends it on a page request, such as, the clients IP and Browser details. Regards, Andrew Buntine. well you can get more user information through the use of ssl with asp. But asp alone would not be able to handle this I aggree. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |