Re: Client Information



Thanks for your reply and I'm sorry it took so long for me to get back to
this.
I tried what you suggested and I now get the IP address of the site that
is accessing the service. Thank you very much, however, I would also like
to get the name of the page that is calling the service. I tried using
"Context.Request.Url.AbsolutePath" but all I get is the address of the
services asmx file. i.e. /SiteFolder/Service.asmx

if you can offer any info to resolve this as well it would be much
appreciated.

-Scott

"Robby Valles" <robby.valles@xxxxxxxxx> wrote in message
news:1193977772.509923.26040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Scott,

Please try the following in your webservice class.

Context.Request.UserHostAddress

That should be available and what you need. Let me know... email me if
you'd like.

Robby Valles

On Oct 29, 1:16 pm, "Scott Elgram" <SElg...@xxxxxxxxxxxxxx> wrote:
Hello,
I have a webservice designed in VS 2005 using C#. I would like to
know
the URL and the IP addresses of the people who are accessing my service.
Is
this a possibility? if so how?

Thanks,
--
-Scott




.


Loading