location.href= document.referer+"?tmp="+Math.rand();

解决方案 »

  1.   

    to:ice_berg16(寻梦的稻草人) tmp="+Math.rand();是什么意思?
      

  2.   

    window.history.go(-1); 
    location.reload();location.href= document.referer+"?tmp="+Math.rand();
    方法也不错,可以防止读取缓存的东西
      

  3.   

    quit.asp
    <%
    session("user_name")=""
    response.Write("<script>window.history.go(-1);location.reload();</script>")
    %>代码是这样子的,作用是当用户注销后,能够显示出登陆界面.根据SESSION来判断的.当这样又会出现quit.asp页面不停刷新.
      

  4.   

    <%
    session("user_name")=""
    response.Write("<script>location.href= document.referer+'?tmp='+Math.rand();
    ;</script>")
    %>
      

  5.   

    不好意思,漏了个"r"
    session("user_name")=""
    response.Write("<script>location.href= document.referrer+'?tmp='+Math.rand()
    ;</script>")
      

  6.   

    这样子.<%
    session("user_name")=""
    Response.Redirect(Request.ServerVariables("HTTP_REFERER"))
    %>
      

  7.   

    结贴,
    ice_berg16(寻梦的稻草人) 里估计一些地方不对.wanghr100(灰豆宝宝.net(多爱我一天))可以的.
    关键的的链接是放在flash里的,就出现了问题.现在将链接拿出来了,便可以.