-
Web service Problem
I have developed the webservice in C#.net. Now I want to know from which site, has it(webservice Object) been instansiating. What is the exact way to know.
Example: I have created the webservice http://localhost/test2service.asmx
Now if a user use it like...(after adding Web reference of this service)...
localhost.test2Service a = new localhost.test2Service();
then how can we know in our webservice that on which site it is being used..
-
Re: Web service Problem
[QUOTE] : It's a very genuine problem, if anyone knows plz reply me soon...
-
Re: Web service Problem
1. using Localhost, no one would be able to access your web service, it needs a LIVE IP.
To determine how many times your webservice is accessed - a simple way would be to create a log, in the webmethod itself, whenever its called
-
Re: Web service Problem
I believe the referer object should work here although I've never tried it. Try working with that object and let us know.