Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to get referer's IP address

Posted on 2001-07-03
4
Medium Priority
?
279 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
ID: 6249682
   tIP = Request.ServerVariables ("REMOTE_ADDR")
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 200 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

885 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