<a href="javascript:window.history.go(-1);window.location.reload(true)">back<a>
加上window.location.reload(true)这样退回上一个页面,并且刷新那个页面。

解决方案 »

  1.   

    如果你是想要你回退到的那个页面刷新的话,你可以不让网页进入缓存而达到目的
    //不进行缓存
    HTM网页
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
    或者<META HTTP-EQUIV="expires" CONTENT="0">
    ASP网页
    response.expires=0
    response.addHeader("pragma","no-cache") 
    response.addHeader("Cache-Control","no-cache, must-revalidate")
    PHP网页
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
      

  2.   

    history.go(-1) 
    永远都不可能刷新的 
    换种方法吧
      

  3.   

    就是,我都是用: location=上一页的地址 来做的
      

  4.   

    还是没有解决啊,<a href="javascript:window.history.go(-1);window.location.reload(true)">back<a>
    对ASP页面,有个刷新确认,不行
    ASP网页
    response.expires=0
    response.addHeader("pragma","no-cache") 
    response.addHeader("Cache-Control","no-cache, must-revalidate")
    我试了,报错
      

  5.   

    如果你的网页用了frame和iframe的话,可能是你的ie版本问题,建议使用ie5.5或者ie6.
      

  6.   

    那用户在使用的时候,会不会受到影响?ie5,ie4,我现在只能location=上一页的地址 ,太烦琐了,如果连接源多了,该怎么办,有没有能提高效率的?