Jan 13, 2003 #1 gagz Programmer Joined Nov 21, 2002 Messages 333 Location US Hi- I want to do a response.redirect, but I want it to wait, say, 10 seconds... does asp.net have a wait or sleep command? I haven't found one. Thanks.
Hi- I want to do a response.redirect, but I want it to wait, say, 10 seconds... does asp.net have a wait or sleep command? I haven't found one. Thanks.
Jan 13, 2003 #2 link9 Programmer Joined Nov 28, 2000 Messages 3,387 Location US You can put the main thread to sleep for a specific number of milliseconds with the following commmand: System.Threading.Thread.Sleep(numOfMilliseconds) It's a true sleep, too, unlike the workarounds we used to have to work with in asp classic. All Hail .NET! The answer to getting answered -- faq855-2992 Upvote 0 Downvote
You can put the main thread to sleep for a specific number of milliseconds with the following commmand: System.Threading.Thread.Sleep(numOfMilliseconds) It's a true sleep, too, unlike the workarounds we used to have to work with in asp classic. All Hail .NET! The answer to getting answered -- faq855-2992