set Timeout before redirrect page in C#

Posted by loviji on Stack Overflow See other posts from Stack Overflow or by loviji
Published on 2010-06-06T16:05:18Z Indexed on 2010/06/06 16:12 UTC
Read the original article Hit count: 530

Filed under:
|
|

Hello, How to implement timeout in this code:

Response.Write(@"<script language='javascript'>alert('some alert');</script>"); 
Response.Redirect(Request.ApplicationPath);

I want to show to user message, and after redirect. But in my solution operations occurs very fast, and alert is not shown.

thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about web-development