Determine caller domain

T

Tuncer Erhamza

Hi!

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

Thanks.
 
J

Juan T. Llibre

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.
 
S

siccolo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top