let say we have a scene that after registered, we show a message to the web user, and then redirect the page to home page.
usually, we use js to set as following:
<script type="text/javascript">
setTimeout('redirectPage', 3);
function redirectPage()
{
window.location.href = ''http://www.example.com';
}
</script>
setTimeout('redirectPage', 3);
function redirectPage()
{
window.location.href = ''http://www.example.com';
}
</script>
also, we can set it the <head> to achieve it.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="3;url=http://www.example.com">
<title>Redirect page</title>
</head>
<body>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="3;url=http://www.example.com">
<title>Redirect page</title>
</head>
<body>
</body>
</html>