|
-
April 12th, 1999, 11:52 PM
#1
Getting the Client's machine name.....
Hi,
I am working on an ASP project that requires the client's machine name. I know that there is a command
Request.Servervariables(REMOTE_HOST)
that returns the remote host name. But if I use this command the return value is the IP address of the machine rather than the remote host name. How do I get the remote host name? Can anybody help me out.
Thank you in adcance.
Anand
-
April 13th, 1999, 09:02 AM
#2
Re: Getting the Client's machine name.....
call 'GetComputerName' on the client end and send the info to your host
-
April 14th, 1999, 08:21 AM
#3
Re: Getting the Client's machine name.....
I think that GetComputerName is an API. How can I use an API in ASP. Could you please help me out here.
Thank you in advance.
Anand
V. Anand,
Flat No 201, DivyaSai Apts.,
64 Pragathi Nagar,
Yosufguda,
Hyderabad - 500 045.
-
July 30th, 1999, 10:22 AM
#4
Re: Getting the Client's machine name.....
You can create Activex component in VC++ or VB get your computer name using API and use this new component in ASP script by calling Server.CreateObject ("NameOfActiveX DLL.NameOfObject")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|