Aww D i had no idea u responded! Its been years since i've gotten a response! lol. I wanted it delayed so that the user would have enough time to read what the page says first (i.e. if insert fails it directs user to a "failed" page, explains possible reasons their update/insert failed and redirects them back to the page they were on to fix their errors.
However! I got a solution and i used
<body onLoad="setTimeout('history.go(-1)',15000)">
instead so when the user is redirected to the page for whatever reason, on load, the page will direct em' back automatically.
Thanks for the response tho lol
ToODLeS, IM me! ;)
Quote:
quote:Originally posted by dparsons
See in the land of real programmers ;] (.NET that is) we have System.Threading.Sleep([integer]) that will pause a thread for x seconds and then finish executing.
Why do you want to pause execution before redirecting? Have you thought about using a JavaScript timer and then calling location.href?
Catch me on yahoo if you need anything else.
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|
T.B.
[email protected]