1. person fills out page 1 and moves to page 2, they then fill out page 2 and realize they need to edit something on page 1 so they hit the back button on the browser. When they edit page 1 and click next, the information on page 2 is no longer there. Is there around this?
2. When the person gets to the summary page and click on a link to edit information on any given page, the info wasn't there at which time I felt pretty stupid in forgetting to set the info according to the session info, so I added some code,
Code: Select all
<?php
session_start();
header("Cache-control: private");
if (!isset ($_SESSION['domain']))
{
$_SESSION['domain'] =NULL;
}
?>Code: Select all
<? print "<input name="Domain" type="text" id="Domain" value="{$_SESSION['domain']}">" ?>