WebService 获取当前URL
2021-07-04 00:07
标签:str web http empty bsp index ice page lower WebService 获取当前URL 标签:str web http empty bsp index ice page lower 原文地址:http://www.cnblogs.com/wangfuyou/p/7122718.html private string pageRoot = string.Empty;
public virtual string PortalRoot
{
get
{
if (pageRoot == null || pageRoot == "")
{
pageRoot = HttpContext.Current.Request.Url + string.Empty;
pageRoot = pageRoot.ToLower();
pageRoot = pageRoot.Substring(0, pageRoot.IndexOf("/portal"));
}
return pageRoot;
}
}
文章标题:WebService 获取当前URL
文章链接:http://soscw.com/index.php/essay/101497.html