|
-
Jul 14th, 2005, 03:41 AM
#1
Thread Starter
Lively Member
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..
-
Jul 14th, 2005, 03:42 AM
#2
Thread Starter
Lively Member
Re: Web service Problem
[QUOTE] : It's a very genuine problem, if anyone knows plz reply me soon...
-
Jul 14th, 2005, 01:26 PM
#3
PowerPoster
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
-
Jul 15th, 2005, 01:18 AM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|