C# Web set time out question

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

I just started my C# Web application.
In the Response.Redirect("frm2.aspx"), how do I set a 3 seconds timeout so
that I can stay at frm1.aspx 3 secondes then go to frm2.aspx?
Thanks for help.


Jason
 
Hi,
You can't do this that way, you must add the following tag on your
page header (in frm1.aspx):

<meta http-equiv="refresh" content="3;url=frm2.aspx">

.... where 3 is the number of seconds to wait..

Diego
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top