Re: Client Information



"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


.



Relevant Pages

  • Advanced Client Site Assignment
    ... Subject: Advanced Client Site Assignment ... <![LOG[Attempting to retrieve proxy MP from ...
    (microsoft.public.sms.admin)
  • Re: Advanced Client Site Assignment
    ... > Subject: Advanced Client Site Assignment ... > <![LOG[Attempting to retrieve proxy MP from ... > <![LOG[Retrieved local Management Point from AD: ...
    (microsoft.public.sms.admin)
  • Re: Separate thread from a DLL
    ... bring the data ops client side via one query ... On startup I ... > connect to the database and retrieve some standard data which is always ... won't speed things up if reading records is all ...
    (microsoft.public.vb.general.discussion)
  • Re: Manage Client in a DMZ
    ... Kim Oppalfens - Sms Expert for lack of any other expertise ... Windows Server System MVP - SMS ... Attempting to retrieve NLB default management point from WINS ... Failed to retrieve MP for site code 'A01' ...
    (microsoft.public.sms.admin)
  • Re: Systems config manager 2007.. client push not working after fresh install (2003 sms clients alre
    ... Kim Oppalfens - Sms Expert for lack of any other expertise ... the client.. ... Windows Server System MVP - SMShttp://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_manage...- Hide quoted text - ... errored out related to account rights.. ...
    (microsoft.public.sms.admin)

Loading