By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,635 Members | 2,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,635 IT Pros & Developers. It's quick & easy.

Determine caller domain

P: n/a
Hi!

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

Thanks.
Mar 14 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/
======================================
"Tuncer Erhamza" <tu*****@webmerkezi.comwrote in message news:uC**************@TK2MSFTNGP04.phx.gbl...
Hi!

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

Thanks.

Mar 14 '08 #2

P: n/a
On Mar 14, 12:49*pm, "Tuncer Erhamza" <tunc...@webmerkezi.comwrote:
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
Mar 15 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.