Click to See Complete Forum and Search --> : Redirecting to another page based on time?


Calmaris
01-06-2004, 01:24 AM
Ok, for instance a user just registered on the page. I would like to have a page come up saying thx for registering and say 5 seconds later be redirected somewhere else without the user having to push any buttons. How would you code this? It must involve a response.redirect but with a parameter added onto it? like this? respons.redirect("Here") for 5 seconds then response.redirect("Here") THX in advance.

CardboardHammer
01-07-2004, 12:51 PM
<META HTTP-EQUIV="Refresh" Content="5"; URL="whateverpage.htm">


Some browsers have options enabling the user to disallow meta refresh, but there's no other alternative that won't also be breakable. (Put a "Click here if not redirected in 5 sec." type of link on the page to handle such a circumstance.)