I have an order page where people can submit orders to my company. Before they submit the order, they are required to enter a Captcha code. This order page is located in a Frames page on my company site. When the correct code is entered, the order is supposed to be processed, but it is not. If a wrong code is entered an error message displays at the top of the page indicating a wrong code:
<?php
if (!empty($_SESSION['wrong_security_code_message'])) {
echo '<p style="color:red;">'. $_SESSION['wrong_security_code_message'] . '</p>';
unset($_SESSION['wrong_security_code_message']);
}
?>
Even when I enter the correct code, it displays the error message. I can't figure out where the problem is.