Determine caller domain

Discussion in 'ASP .Net' started by Tuncer Erhamza, Mar 14, 2008.

  1. Hi!

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

    Thanks.
     
    Tuncer Erhamza, Mar 14, 2008
    #1
    1. Advertisements

  2. 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" <> wrote in message news:...
    > Hi!
    >
    > Another web application (domain) call our application.
    > We want to determine in our application which domain call.
    >
    > Thanks.
    >
     
    Juan T. Llibre, Mar 14, 2008
    #2
    1. Advertisements

  3. Tuncer Erhamza

    siccolo Guest

    On Mar 14, 12:49 pm, "Tuncer Erhamza" <> 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.


    ... more at http://www.siccolo.com/articles.asp
     
    siccolo, Mar 15, 2008
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Infant Newbie
    Replies:
    2
    Views:
    3,507
    Infant Newbie
    Nov 12, 2003
  2. Dave
    Replies:
    4
    Views:
    3,087
  3. =?Utf-8?B?VENEb2xwaGluLg==?=

    Webserver needs to be domain controller or just joind to domain?

    =?Utf-8?B?VENEb2xwaGluLg==?=, Sep 22, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    704
    =?Utf-8?B?VENEb2xwaGluLg==?=
    Sep 22, 2005
  4. AF
    Replies:
    8
    Views:
    1,608
    Chrissy Cruiser
    Aug 23, 2004
  5. Paul  Wolpe
    Replies:
    1
    Views:
    303
    Joe Kaplan \(MVP - ADSI\)
    Sep 16, 2004
  6. Jerry N
    Replies:
    3
    Views:
    300
    Joe Kaplan \(MVP - ADSI\)
    Jul 9, 2006
  7. Peña, Botp
    Replies:
    1
    Views:
    478
    Robert Klemme
    Jan 24, 2004
  8. Mark
    Replies:
    2
    Views:
    574
Loading...