webservice referer

645 Views Asked by At

It's possible to get the webservice caller url referer? If yes how?

1

There are 1 best solutions below

0
On

The following answer is for Microsoft non-WCF webservices. I am sure there is something equivalent for WCF as well.

When your webservice is invoked, you can get a handle to the Context. The context will give you access to the HttpRequest object from which you can query any header.