返回上一页面地址 HttpContext.Current.Request.UrlReferrer.ToString()

HttpContext.Current.Request.UrlReferrer.ToString()
  只能获取由<a></a>链接来的URL信息

如:<img onclikc="javascript:location.href='urlname';" />将无法获取相关urlreferer信息

posted @ 2010-03-23 08:42  bndy  阅读(1758)  评论(0编辑  收藏  举报