Log Request to Web Service - 05-15-2006 , 01:33 PM
In a Visual Studio 2005 VB.NET Web Service where would I write the code to
get hings like the clients IP address, etc upon connection to a web service?
Basically I want to log attempt/visits to a web service. There doesn't seem
to be anything like an OnConnection method. Also, what methods are
available to get the IP Address, etc from the connected user? Thanks a lot.
P.S. I'm also sing WSE 3. Thanks a lot.
Re: Log Request to Web Service - 05-15-2006 , 03:02 PM
Try Context.Request.UserHostAddress to get their IP
But IIS will already do logging for you, so I'm not sure why you want to do
|Thread Tools||Search this Thread|