473,411 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

What Session Data to Capture

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.
Jul 19 '05 #1
2 2547
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.


Jul 19 '05 #2
Hi Hugh,

Do you mean that the Remote_Host and UserHostAddress will return the same
IP Address, and the UserHostName will return DNS name if available?That is
true.

Here are some links helpful.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebhttprequestclassservervariablestopic .asp
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebhttprequestclassuserhostaddresstopic .asp
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebhttprequestclassuserhostnametopic.as p

Peter Huang

Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
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>
References: <00****************************@phx.gbl> <QN**************@cpmsftngxa06.phx.gbl>Subject: RE: What Session Data to Capture
Date: Fri, 11 Jul 2003 05:46:20 -0700
Lines: 64
Message-ID: <08****************************@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
Thread-Index: AcNHqm2mmnOCaYTVRQK1xbadHBUA4A==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:100880
NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
X-Tomcat-NG: microsoft.public.dotnet.general

So, what you are saying is that the Remote_Host and
UserHostName should return the same IP Address. The
UserAddressName will return the DNS name if available.
Is this correct?
-----Original Message-----
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.gblmicrosoft.public.dotnet.general:100724NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.public.dotnet.general

Hello everyone and thanks for your help in advance. Iamworking 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 thesamething and what exactly the UserHostName signifies. I
have checked many resources, but can't seem to getclearon this. Any help would be greatly appreciated.Thanks.


.


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: anks | last post by:
I am using jsp for my web based application. All participants enter through login password provided to them. Is it possible to capture the session status information(connected, disconnected time...
2
by: Hugh McLaughlin | last post by:
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...
1
by: lsf_80 | last post by:
I am using Session to capture my login name and this session is checking on every page that required login. However, there is a problem that the session is expired too fast! When i jump to another...
2
by: D. Shane Fowlkes | last post by:
I developed and manage an intranet for a small, govt agency. The way it is set up now is that there is a Function on each and every page that will capture the NT Log On User ID (b/c they had to...
3
by: JezB | last post by:
I want to clear some specific Session variables when the user closes a page. On my page I have a "return to ..." button which navigates back to the parent page from which it was invoked - under the...
3
by: Jazper | last post by:
hi i'd like to be able to access the same objects in the session but by different applications on the same webserver. example: C#-WebApp creates Session-Object "xxx" and redirect to a...
2
by: WJ | last post by:
I am setting the Session State TimeOut to 54 minutes (20 is default) in the Web.Config. I use SQL Server to persist the session states & ID. As long as I am remaining in the web sites, I see all...
1
by: Seetha J | last post by:
I work on a website where users can apply for different types of loans. Depending on the type of loan we store various sets of data in Session state which is maintained in SQL Server. If the user...
2
by: ronchese | last post by:
I'm noticing this since I started developing a website project: my session variables are getting empty! I did a real easy test, and I checked my session variable is getting empty!! What is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.