session_start(); $link_url = $_SERVER['HTTP_REFERER']; if($_SESSION['uname'] != ''){ header("Location: $link_url"); } $check = $_SESSION['msg']; if($_SESSION['msg']== '5'){ unset($_SESSION['name']); unset($_SESSION['cmp_address']); unset($_SESSION['city']); unset($_SESSION['state']); unset($_SESSION['zip']); unset($_SESSION['cmp_landline_no']); unset($_SESSION['cmp_fax_no']); unset($_SESSION['cmp_email']); unset($_SESSION['cp_name']); unset($_SESSION['cp_mob_no']); unset($_SESSION['cp_email']); unset($_SESSION['uid']); unset($_SESSION['upass']); unset($_SESSION['utype']); } ?>
|