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.
 
Back
Top