Solved

how to get referer's IP address

Posted on 2001-07-03
4
257 Views
Last Modified: 2006-11-17
I can get referer using request.servervariables("http_referer"), but how can I get referer's IP address instead of referer's domain name?
 
thanks
0
Comment
Question by:flyoversky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:epeele
ID: 6249682
   tIP = Request.ServerVariables ("REMOTE_ADDR")
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
ID: 6249700
you can use a component such as AspDNS
http://www.serverobjects.com/products.htm#aspdns

or roll your own (VB Code):
"How to Resolve a Hostname Into an IP Address"
http://www.mvps.org/vbnet/index.html?code/network/hostnamefromip.htm
0
 

Author Comment

by:flyoversky
ID: 6250092
thank very much!
0
 

Author Comment

by:flyoversky
ID: 6250094
thank very much!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Time Conversions...both ways 2 32
Cannot open file from ASP if user is "logged in" 13 41
Button on Table, name table1 not working 4 43
My Do While is Not Producing Anything 15 88
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question