Re: Client Information
- From: "John Saunders [MVP]" <john.saunders at trizetto.com>
- Date: Mon, 12 Nov 2007 17:41:44 -0500
"Scott" <Scott@xxxxxxxxxxxxxx> wrote in message
news:%2378c1nXJIHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
You missed my purpose.
I am not trying to use this information to identify proper usage. Just
simply collecting data of who is using it and when. If the IP address is
that of a NAT box or some other piece of hardware that is fine. The
people
that have asked me to get this information realize everything that you
have
mentioned and they realize that this information may not always be
accurate
or available. That, however, doe snot stop them from wanting to log it.
For arguments sake, lets say the information I am trying to retrieve is
available due to however the client has set up their site. I have managed
to get the IP address but I am still stuck on how I can get the URL. So
far
I have only been able to retrieve the address of the ASMX file not
whatever
called it.
Scott, there _is_ no URL. What it the client that called your web service
was not a web page? In that case, there would be no URL to pass, so the web
services infrastructure _never_ passes any URL.
Sorry, but if you want to log the URL of the web page that called the web
service, then you'll have to make the web page pass the URL to the service.
This could be done as a parameter to every web service operation, or it
could be done through a custom SOAP Header.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
.
- Follow-Ups:
- Re: Client Information
- From: Scott
- Re: Client Information
- References:
- Re: Client Information
- From: John Saunders [MVP]
- Re: Client Information
- From: Scott
- Re: Client Information
- From: John Saunders [MVP]
- Re: Client Information
- From: Scott
- Re: Client Information
- Prev by Date: Re: Client Information
- Next by Date: Re: Makeing an ASP + .NET website runable offline.
- Previous by thread: Re: Client Information
- Next by thread: Re: Client Information
- Index(es):
Relevant Pages
|
Loading