开发者

How can a webservice find out the URL the client used to call this webmethod?

开发者 https://www.devze.com 2023-01-26 22:11 出处:网络
Suppose i have a webservice (http://myWebservice/CodeGenerator/CodeValidator.asmx) as follows [WebMethod]

Suppose i have a webservice (http://myWebservice/CodeGenerator/CodeValidator.asmx) as follows

[WebMethod]
public string ValidateCode(string sCode)
{
    // I need 开发者_高级运维to check requested url here. The call comes from different sites.
    // For example www.abc.com/accesscode.aspx. I need to get this url. 
}
0

精彩评论

暂无评论...
验证码 换一张
取 消