Hi Hugh,
Do you mean the HttpRequest Class? The class has a collection
property(ServerVariables) from which you can get the UserHostAddress and
UserHostName. t is one variable in the ServerVariables. So you may say that
UserHostAddress is the same as Remote_Host ,because it gets from the
Remote_Host. while UserHostName is the DNS name of the UserHostName.
Hope this will help you.
Regards,
Peter Huang
===========
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Hugh McLaughlin" <hu**@kmcnetwork.com>
Sender: "Hugh McLaughlin" <hu**@kmcnetwork.com>
Subject: What Session Data to Capture
Date: Wed, 9 Jul 2003 21:05:33 -0700
Lines: 9
Message-ID: <00****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNGmIJEcHpSklhyTNKRxrNW0YCyzg==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:100724
NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.public.dotnet.general
Hello everyone and thanks for your help in advance. I am
working on an application to track visitors to my
website. However, I am confused as to what data to
capture for the session, specifically the Remote_Host,
UserHostAddress, and UserHostname. I am unclear as to
whether the Remote_Host and UserHostAddress are the same
thing and what exactly the UserHostName signifies. I
have checked many resources, but can't seem to get clear
on this. Any help would be greatly appreciated. Thanks.