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
Remove the
Response.Redirectand just doAny
response.redirectin code will ignore any content already sent to the browser