The code in both of these files appears correct.
the first thing I would like to test is the servers session management.
Download the sessionTest.php file from the following thread and upload it to your server to test session management:
showpost.php?p=23826&postcount=2
If the session test checks OK, find the following code in your page:
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
}
and change it to:
if ($WAFV_Errors != "") {
die($WAFV_Errors);
PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
}
this will help us pinpoint exactly which validation is failing to troubleshoot further.