Current File : /home/inlingua/public_html/sensoriumpsychologists.com/diagnostics/franchise/cancel_exam.php
<?php require_once("../franchise_between/check_franchise.php");?>
<?php require_once("../franchise_between/screening_funcs.php");?>
<?php
session_start();
if(!(isset($_SESSION['screening_started'])&&($_SESSION['screening_started']=="yes")))
{
	echo("Error : Invalid request...");
	exit();
}
$ref_no=$_SESSION['ref_no'];
$screening_id=$_SESSION['screening_id'];
$screening_obj=new screening_funcs();
$screening_obj->delete_previous_student_ans($ref_no,$screening_id);
unset($_SESSION['screening_started']);
unset($_SESSION['ref_no']);
unset($_SESSION['screening_id']);
unset($_SESSION['section_count']);
unset($_SESSION['ongoing_section_no']);
header ("Location: /franchise/index.php");
?>