//form1.php
<form action="form2.php">
<input type="submit">
</form>
//form2.php
<script>
function test()
{
document.frmform3.submit();
}
</script>
</head>
<body onload="test();">
<form id="frmform3" name="frmform3" action="form3.php" method="post">
</form>
</body>
This takes me to the form3.php.But when i click on IE back button i cannot see the contents of form2.php.It shows page cannot be displayed msg.Any solutions to solve this problem?
Problem with page redirection
Moderator: General Moderators
Re: Problem with page redirection
Most (/older) browsers will not remember info from a form that has been submitted.
You may have to think about saving the post/get variables into session variables and retrieving it (if it exists) when the pages load.
You may have to think about saving the post/get variables into session variables and retrieving it (if it exists) when the pages load.