You could save yout post/get form values in sessions. That way your can use that data until the user closes his/her browser. Like this. (NOT TESTED!!)
Put a hidden field in your form: name = action, value = form1.
session_id() or session_start();
if ($POST['action'] == 'form1') {
$SESSION['name'] = $POST['name'];
$SESSION['age'] = $POST['age'];
$SESSION['sex'] = $_POST['sex'];
}
Remember to put this on your pages that needs to use sessions:
session_id() or session_start();
echo $_SESSION['name'];
If you have many variables you could put them in an array, serialize it and put in a session.
Best regards.
Asbjørn Morell.