Referrer or HTTP_REFERER

  • Thread starter Thread starter Shirish Kokate
  • Start date Start date
S

Shirish Kokate

Can any one suggest alternative to capture the URL of the
Web services consumer in Web service. For VS.Net 2003,
HttpContext.Current.Request.UrlReferrer or
HttpContext.Current.Request.ServerVariables
("HTTP_REFERER") both holds null value. Any Patch/Fixes
available?
 
Can any one suggest alternative to capture the URL of the
Web services consumer in Web service. For VS.Net 2003,
HttpContext.Current.Request.UrlReferrer or
HttpContext.Current.Request.ServerVariables
("HTTP_REFERER") both holds null value. Any Patch/Fixes
available?

How would that work? A webservice is something that is called directly.
I don't know how you can set up something to "refer" to a webservice and
have it execute properly.
 
Obviously! Web services are consumed directly
and 'HTTP_REFERER' was mentioned for elaboration.

Alternatively, by capturing URL of the consumer one can
restrict and monitor web services consumers.

Shirish
 
Alternatively, by capturing URL of the consumer one can
restrict and monitor web services consumers.

But the consumer is not a URL, they're just an IP address. And if
they're behind a proxy, the same IP address could be used by numerous
consumers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top