Solved

how to get referer's IP address

Posted on 2001-07-03
4
214 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
  • 2
4 Comments
 
LVL 4

Expert Comment

by:epeele
Comment Utility
   tIP = Request.ServerVariables ("REMOTE_ADDR")
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
Comment Utility
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
Comment Utility
thank very much!
0
 

Author Comment

by:flyoversky
Comment Utility
thank very much!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now