/* Project Name : - AED Created On : - 28 Dec 2004 Purpose : - This script is included in all the pages of the user section except home.php and login.php it checks the session variables for the user and password, if they are blank then redirect it to the login page Created By : - Dharmendra Sharma Include Files : - common files - main_include.php Last Updated By : - Updates Done : - */ // included main_include.php which include itself files for database connection(connection.php), // globals variables declaration(variables.php), valid user session validation(check_user.php) // and file having common function(functions.php) located in path '../codelibrary/inc/' include_once('../codelibrary/inc/main_include.php'); if (empty($_SESSION["user_login_id"]) && empty($_SESSION["usere_pwd"])) { header("Location: login.php"); exit(); } else { session_destroy(); header("Location: login.php"); exit(); } ?>