Hi!

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

Thanks.

Re: Determine caller domain by Juan

Juan
Fri Mar 14 13:02:26 CDT 2008

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" <tuncere@webmerkezi.com> wrote in message news:uC16sNfhIHA.4396@TK2MSFTNGP04.phx.gbl...
> Hi!
>
> Another web application (domain) call our application.
> We want to determine in our application which domain call.
>
> Thanks.
>



Re: Determine caller domain by siccolo

siccolo
Fri Mar 14 19:10:38 CDT 2008

On Mar 14, 12:49=A0pm, "Tuncer Erhamza" <tunc...@webmerkezi.com> wrote:
> 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.


=2E.. more at http://www.siccolo.com/articles.asp