Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: ASP Web Traffic Analysis How to get IP address of client Tutorial

This tutorial shows how ASP can be used to retreive the IP address of the remote host by using the ServerVariable Object.

Tutorial Details:

How to get IP address of client

This tutorial shows how ASP can be used to retreive the IP address of the remote host by using the ServerVariable Object.

Active Server Pages (ASP) has a built-in object called ServerVariables. This object holds useful information on Environmental Variables. One the variable is "REMOTE_ADDR" which holds the IP address of the visitor. To request the IP address of host machine, use the following code:

Your IP address is <%= Request.ServerVariables("REMOTE_ADDR") %>

There is a lot of other useful information that can be retrieved from the ServerVariable object e.g. Server Name, Browser Type, etc. To view a listing of available variables, visit the following link: http://www.4guysfromrolla.com/webtech/092298-3.shtml


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
ASP Web Traffic Analysis How to get IP address of client Tutorial

View Tutorial:
ASP Web Traffic Analysis How to get IP address of client Tutorial

Related Tutorials:

Results of first-ever JVM server benchmark revealed - JavaWorld - December 1997
Results of first-ever JVM server benchmark revealed - JavaWorld - December 1997
 
Java Tip 56: How to eliminate debugging problems for RMI-based applications - JavaWorld - July 1998
Java Tip 56: How to eliminate debugging problems for RMI-based applications - JavaWorld - July 1998
 
Which Java VM scales best? - JavaWorld - August 1998
Which Java VM scales best? - JavaWorld - August 1998
 
A beginner's guide to Enterprise JavaBeans - JavaWorld - October 1998
A beginner's guide to Enterprise JavaBeans - JavaWorld - October 1998
 
Multicast the chatwaves - JavaWorld October 1999
Multicast the chatwaves - JavaWorld October 1999
 
Use Microsoft's Internet Information Server as a Java servlet engine - JavaWorld June 2000
Use Microsoft's Internet Information Server as a Java servlet engine - JavaWorld June 2000
 
The Gnutella file-sharing network and Java - JavaWorld October 2000
The Gnutella file-sharing network and Java - JavaWorld October 2000
 
Sockets programming in Java: A tutorial - JavaWorld December 1996
Sockets programming in Java: A tutorial - JavaWorld December 1996
 
Take control of the servlet environment, Part 2 - JavaWorld December 2000
Take control of the servlet environment, Part 2 - JavaWorld December 2000
 
J2EE clustering, Part 2 - JavaWorld August 2001
J2EE clustering, Part 2 - JavaWorld August 2001
 
Step into the J2EE architecture and process
Step into the J2EE architecture and process
 
Servlet 2.4: What's in store
Servlet 2.4: What's in store
 
J2EE 1.4 eases Web service development
J2EE 1.4 eases Web service development
 
ColdCafe ver 1.2
ColdCafe is a macro-processor servlet. This servlet parses html pages and replaces some predefined elements with their values. It is not a new language like JSP, it is just a set of html-preprocessing that keep your hands free for using any web-authoring
 
Tag Libraries Tutorial
This tutorial describes how to use and develop JavaServer Pages tag libraries. The tutorial assumes that you know how to develop servlets and JSP pages and are familiar with packaging servlets and JSP pages into Web application archives.
 
Welcome to the Apache Struts Tutorial
This is the complete Struts Tutorial. Explains ActionForm Action Class Validation Framework.
 

Free Web Site Hosting Services Below is the listing of the hosting providers providing free web hosting services. These services helps you building your sites even if you have no experience in HTML writing. Zero
 
Web Site promotion services at roseindia.net
Web Site promotion services at roseindia.net Welcome to RoseIndia.net Web Submission Services Our Web site services will help you get listed in major search engines and directory of the world. Our own site traffic comes from the major search
 
Locking Down Server Access to SSH With SunScreen Software (Community Submission)
This Tech Tip shows how to lock down a server to a group of client machines, allowing SSH access only, using SunScreen software.
 
Integrating Java Open Single Sign-On in Pluto
This article shows how to integrate Java Open Single Sign-On in Apache\'s Pluto portlet container.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.