在头信息中 <meta http-equiv="refresh" content="20" /><meta http-equiv="refresh" content="20;url=main.aspx /> 第一条为20秒刷新一次,第二条为20秒后跳到另一页面。