diff --git a/index.php b/index.php index 611f24a8ceb..2e307e6e778 100644 --- a/index.php +++ b/index.php @@ -818,6 +818,9 @@ function submitfailed() . mysql_error()."\n\n"; $email=crlf_lineendings($email); mail($thissurvey['adminemail'], _DNSAVEEMAIL5, $email); + //An email has been sent, so we can kill off this session. + session_unset(); + session_destroy(); } else {