将 HTTP 头添加到输出流,比如
Response.AppendHeader("Refresh","10;url='http://www.csdn.net'");

解决方案 »

  1.   

    我知道那是干什么用的,但还想知道实现机制,我并没有看到传统的实现同样功能的html代码生成阿
      

  2.   

    就是在html文件中的<head>部分加上这一句:
    <meta http-equiv="refresh" content="10;url='http://www.cscn.net'">------------------------------------
    AspNetPager免费分页控件2.0发布,新增Url分页功能,欢迎下载使用:www.webdiyer.com
      

  3.   

    it adds a header to the response, and the browser will honor it when it sees a refresh header
      

  4.   

    I'm sorry Saucer,what's the meaning of HONOR ?
    Should I suposed the broswer catch the header and HIDE the code like 
    <meta http-equiv="refresh" content="10;url='http://www.cscn.net'>,then broswer refresh?
      

  5.   

    对,那个HEADER跟那句<META>是等同的, "honor" 就是承诺,实现之意