collect web service client ip

Discussion in 'ASP .Net Web Services' started by Grant Merwitz, Nov 11, 2004.

  1. I have created a web service

    i would now like to capture the clients IP address when a request is
    performed.

    I have tried to use the Request.ServerVariables["REMOTE_ADDR"] without
    success.

    How can i achieve this

    Thanks

    Grant
     
    Grant Merwitz, Nov 11, 2004
    #1
    1. Advertising

  2. Grant Merwitz

    RK Guest

    use
    Context.Request.ServerVariables["REMOTE_ADDR"];

    --RK



    "Grant Merwitz" <> wrote in message news:<>...
    > I have created a web service
    >
    > i would now like to capture the clients IP address when a request is
    > performed.
    >
    > I have tried to use the Request.ServerVariables["REMOTE_ADDR"] without
    > success.
    >
    > How can i achieve this
    >
    > Thanks
    >
    > Grant
     
    RK, Nov 11, 2004
    #2
    1. Advertising

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. Bert Leu
    Replies:
    1
    Views:
    482
    Cowboy \(Gregory A. Beamer\)
    Nov 23, 2007
  2. Replies:
    0
    Views:
    233
  3. Curt K
    Replies:
    3
    Views:
    485
    John Saunders [MVP]
    Jun 15, 2007
  4. Leo Violette
    Replies:
    0
    Views:
    1,106
    Leo Violette
    Apr 17, 2009
  5. Kam
    Replies:
    3
    Views:
    239
    Aaron Bertrand [SQL Server MVP]
    Aug 5, 2005
Loading...

Share This Page