T
The Magnet
Hi,
I'm looking to change the location of where the page goes when someone
hits the back button.
I have a page which the user fills out a form, hits SUBMIT. It does
it's PHP thing, sends me the info, and then puts up a confirmation
page with a link to another page. At that point, if the user hits the
browsers 'BACK' button, it goes back, and I've put in a session
variable to re-direct the page using "header", but it still sends me
the confirmation again???
How can that be when I check for the session variable first thing:
<?
session_start();
if ($_SESSION['BACK'] == "Y") {
header("Location: feedback.php");
}
First thing in the page. It goes back to 'feedback.php' properly, but
not before sending me another email.
Any ideas why??
I'm looking to change the location of where the page goes when someone
hits the back button.
I have a page which the user fills out a form, hits SUBMIT. It does
it's PHP thing, sends me the info, and then puts up a confirmation
page with a link to another page. At that point, if the user hits the
browsers 'BACK' button, it goes back, and I've put in a session
variable to re-direct the page using "header", but it still sends me
the confirmation again???
How can that be when I check for the session variable first thing:
<?
session_start();
if ($_SESSION['BACK'] == "Y") {
header("Location: feedback.php");
}
First thing in the page. It goes back to 'feedback.php' properly, but
not before sending me another email.
Any ideas why??