General information
Title:
Remote computer name
Hi! I would like to seek your help on how i can get the computer name of my remote users. One of the menu of my system is to create a text file in the user's local drive. My codes are:
<%
filen = request.form("filen")
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("c:\" & filen & ".txt", True)
%>
But this codes created a text file in the server's local drive instead of the user's local drive.
I tried using the code: Request.ServerVariables("remote_addr") so that I can get the IP address of the user. I shared one folder in drive C of the user. I use the IP address instead of the computer name to make a path to the user's PC but it did not work. It can't find the PC. Thanks in advance.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only