$TimeLimit = 3600; /*设置超时限制时间 缺省时间为 30秒,设置为0时为不限时 */ 
set_time_limit($TimeLimit);

解决方案 »

  1.   

    HTML不就可以做到吗???
    PHP的header也可以的啊
      

  2.   

    此问题版权属“梅花雨”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">
    ASP网页
    <%
      Response.Expires = -1
      Response.ExpiresAbsolute = Now() - 1
      Response.cachecontrol = "no-cache"
    %>
    PHP网页
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Cache-Control: no-cache, must-revalidate");
    header("Pragma: no-cache");
    JSP
        response.setHeader("Pragma","No-Cache");
        response.setHeader("Cache-Control","No-Cache");
        response.setDateHeader("Expires", 0);