You should set your session variables like this:
<?php
@session_start();
$_SESSION["gotoname"] = "PORC_Admin_All_Votes_List.php";
@session_commit();
?>
Then on your insert page, the recordsets and insert server behaviors should be above the <!doctype> tag with no blank lines in the code above it.