Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Request.ServerVariables("REMOTE_HOST") function returns IP Address?

0 views
Skip to first unread message

Todd A Cohen

unread,
Jun 28, 1999, 3:00:00 AM6/28/99
to
I am using the Request.ServerVariables("REMOTE_HOST") function in an ASP
page. Unfortunately what it returns is the TCP/IP address of the client, not
the clients name. Any idea what I need to do to get the name of hte PC?

Thanks


Aaron Bertrand

unread,
Jun 28, 1999, 3:00:00 AM6/28/99
to
>> Any idea what I need to do to get the name of hte PC?

Reverse DNS.

--
_______________________________________________________
aaron bertrand [active server pages mvp]
http://www.swynk.com/friends/bertrand/

No matter how much you idiot-proof something,
nature will make a better idiot.
_______________________________________________________

donf...@my-deja.com

unread,
Jun 28, 1999, 3:00:00 AM6/28/99
to
Parse the ServerVariable("HTTP_REFERER") return

In article <7l8175$2n...@news.abbott.com>,


"Todd A Cohen" <Todd....@abbott.com> wrote:
> I am using the Request.ServerVariables("REMOTE_HOST") function in an
ASP
> page. Unfortunately what it returns is the TCP/IP address of the
client, not

> the clients name. Any idea what I need to do to get the name of hte
PC?
>
> Thanks
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Antonin Foller

unread,
Jun 28, 1999, 3:00:00 AM6/28/99
to
http://www.pstruh.cz/help/tcpip/class.htm


Antonin Foller

Todd A Cohen <Todd....@abbott.com> wrote in message
news:7l8175$2n...@news.abbott.com...

PD

unread,
Jun 29, 1999, 3:00:00 AM6/29/99
to
On Mon, 28 Jun 1999 16:09:35 GMT, donf...@my-deja.com wrote:

>Parse the ServerVariable("HTTP_REFERER") return
>

But this is an optional parameter in HTTP, so you really can't count on it

The same goes for reverse DNS :
- Not all IP's have a name
- What with proxy servers
- Takes a while to process

Peter

Computers are great but you have to know how to control them.

0 new messages