<meta http-equiv="expires" content="-1">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="MSThemeCompatible" content="Yes">
<meta http-equiv="Cache-Control" content="no-cache">或:header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");

解决方案 »

  1.   

    echo '<html>
          <head>
          <title>书籍分类</title>
          <meta http-equiv="pragma" content="no-cache">
          <meta http-equiv="expires" content="wed, 26 Feb 1997 08:21:57 GMT">
          </head>
          <body background="Image/bg.gif" bgcolor="#FFFFFF" 
          text="#000000" link="#0099FF" vlink="#003399" alink="#999933">';
      

  2.   

    在发header之前也可以发送内容的
      

  3.   

    各位,人家问的是 看到新页面而不用刷新,不是 必须刷新才能看到页面两种解决方案,一种是用框架,一个页面不断刷新,然后修改另一个页面的内容,使得一个页面可看到新页面而不用刷新一种是使用socket编程这位兄弟,你是不是想做聊天室阿,找个源程序看看好了