Request.ServerVariables("HTTP_REFERER")

解决方案 »

  1.   

    谢谢楼上的,可是我需要的是在客户端javascript脚本的实现啊、
      

  2.   

    window.location.href=document.referrer
      

  3.   

    楼上说的对
    document.referrer
      

  4.   

    referrer Property  This property returns a value only when the user reaches the current page through a link from the previous page. Otherwise, document.referrer returns an empty string; it also returns an empty string when the link is from a secure site.document.referrer仅当页面同过<a href="b.html>b</a>这种方式才返回,其它调用时都为空,我的页面的链接时写在flash中的,document.referrer为空。