Determine caller domain

  • Thread starter Thread starter Tuncer Erhamza
  • Start date Start date
T

Tuncer Erhamza

Hi!

Another web application (domain) call our application.
We want to determine in our application which domain call.

Thanks.
 
re:
!> We want to determine in our application which domain call.

Capture the requesting IP and do a reverse DNS lookup, although that won't help you.

There's many clients which share IPs, via proxies, with many other clients.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
Hi!

Another web application (domain) call our application.
We want to determine in our application which domain call.

Thanks.

you may want to check Request.ServerVariables["HTTP_X_FORWARDED_FOR"],
and then, if that one's empty,
look in Request.ServerVariables["REMOTE_ADDR"] ....something along
this lines.


... more at http://www.siccolo.com/articles.asp
 
Back
Top