try adding the following at line 1:
<?php @session_start(); ?>
if that still does not work, to troubleshoot the problem, change:
<?php if($_SESSION['SecurityAssist_studStudentID'] != $row_rs_stud['studStudentID']) { ?>
to:
<?php echo("SecurityAssist_studStudentID: ". $_SESSION['SecurityAssist_studStudentID']."<br />studStudentID: ".$row_rs_stud['studStudentID'].""); ?>
<?php if($_SESSION['SecurityAssist_studStudentID'] != $row_rs_stud['studStudentID']) { ?>
and post back the value for each variable that is written to the page.