window.location.href.replace = 'url';

解决方案 »

  1.   

    HTTP: 
    <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")让网页失效。
      

  2.   

    <script language="javascript">
    <!--
    document.onkeydown = function()
    {
    if (event.keyCode==8)
        {
         //alert("IE recieved BackSpace");
           event.cancelBubble = true
    event.returnValue = false;
    return false;
        }
    }
    }
    //-->
    </script>