I have created a web app for my customer and its working perfectly on my domain / server. But when I use this app from his domain through Iframe I cannot log in properly because I have this code in every page
session_start();
if(!$_SESSION['u_name']){
header('location:login.php?logout=Sei disconnesso');
}
So from his domain session part is not working properly. It redirects me always on the login page but when I use this from my domain it works perfectly.