I have a question about sessions. I start my session on page1. Then from page2, I can go to pag3, but I get redirect back because of missing/incorrect info to page2. The problem is that my session information that I started in page1 is now set to “”/(NULL). Any one ever run into this/Have info to correct the problem?
FYI: I have used two ways to redirect the user back they are as follows:
• header("Location: [url]http://[/url]".$_SERVER["HTTP_HOST"]."/btd/purchase/customer.php? ");
• function redirect($url, $message="", $delay=0) {
echo "<meta http-equiv='Refresh' content='$delay; url=$url'>";
if (!empty($message)) {
echo "<div style='font-family: Arial, Sans-serif; font-size: 12pt;' align=center>$message</div>";
die();
}
Thanks, Donnie