Hi Craig,
From what I understand of session variables, the blank (or previous value of the) session variable will override the form variable any time that you refer to it strictly as $name. If you want to set the session variable to the form variable, you would have to use syntax like:
$name=$HTTP_POST_VARS['name'];
From there it is fairly easy to do what you want with combination with a foreach loop:
foreach($HTTP_POST_VARS as $formName=>$inputValue) {
$$formName=$inputValue;
}
/This assumes that you already have session variables with the same name as form elements (for ALL of the elements) registered as sessions vars.../
Check me on the double variable, I just picked that up a little while ago: It should resolve to $name and then the name of whatever element that was.
Good Luck,
Jason