diff --git a/header.php b/header.php index b15eb13..7bbc30b 100644 --- a/header.php +++ b/header.php @@ -1,3 +1,15 @@ + "") { + $_SESSION["isLoggedIn"] = true; + $customer_data = getCustomerbyLoginId($_SESSION["userId"]); + // $customerData = json_decode($customer_data, true); + +} else { + $_SESSION["isLoggedIn"] = false; +} +?> +