在asp.net中做个用户注册页面,注册完成后我想让注册的信息显示几秒钟后自动跳转到用户登陆页面!
请问在自动跳转那里怎么做!谢谢高手指教,在线等!谢谢...

解决方案 »

  1.   

    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>页面跳转中……</title>
    </head>
    <body>
    <form name=loading> 
     
      <p align=left> <font color="#0066ff" size="2">正在进入,请稍等</font><font color="#0066ff" size="2" face="Arial">...</font> 
          
        <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">
             
        <input type=text name=percent size=5 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
          
        <script>  
    var bar=0  
    var line="||"  
    var amount="||"  
    count()  
    function count(){  
    bar=bar+2  
    amount =amount + line  
    document.loading.chart.value=amount  
    document.loading.percent.value=bar+"%"  
    if (bar<99)  
    {setTimeout("count()",100);}  
    else  
    {window.location = "http://www.coo110.com";}  
    }</script>
         </p> 
    </form> 
    <p align="left">&nbsp;如果您的浏览器不支持跳转,<font color="#000000"><a style="text-decoration: none" href="http://www.coo110.com"><strong>请点这里</strong></a></font>。</p>
    </body></html>
      

  2.   

    哇,这么长啊,不是用this.Response.Redirect("index.aspx");就可以了吗?
      

  3.   

    Response.Redirect是立即跳转的,我想让页面停留5秒后跳转
    他给出的是asp的代码,虽然放到.NET中也能用,但是我想知道的是在.NET中有没有什么可以控制在给盯时间后跳转的方法
      

  4.   

    在设置一下setTimeout("count()",100);
      

  5.   

    设置停留时间跟ASP是一样的呀,用JavaScript写嘛.
      

  6.   

    CSDN上不是就这样吗!查哈它的源就知道了
      

  7.   

    我就想看看有没有asp.net的代码能实现这个功能的,用asp的script我也知道能实现
    设置setTimeout("count()",100),能不能写详细点...谢谢
    就是说把这个代码写到什么地方.
      

  8.   

    this.threadsleep(5000);
    Response.Rederict(url);
      

  9.   

    <meta http-equiv="refrush" content="2;url=test.htm"/>
      

  10.   

    meta http-equiv="refrush" content="5;url=default.aspx"/>
    把这代码放到head中怎么不好使??
      

  11.   

    System.Threading.Thread.Sleep(5000);
    Response.Rederict(url);通过asp.net2.0测试,this.threadsleep()是行不通的。
      

  12.   

    <meta http-equiv="refresh" content="5;url=login.aspx"/>
      

  13.   

    meta http-equiv="refrush" content="5;url=default.aspx"/>
    把这代码放到head中怎么不好使??写错了贝!<meta http-equiv="refresh" content="秒数;url=导向页"/>