webservice referer

607 views Asked by At

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

1

There are 1 answers

0
feroze 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.