0
Php session
Php script always logout when I click a url containing key and value. And it gets set after another login. What’s the cause. Answer will be appreciated Example of the url https://www.domain.com/country=$country <?php session_start(); // If session variable is not set it will redirect to login page if(!isset($_SESSION['email']) || empty($_SESSION['email'])){ header("location: login.php"); exit; } ?>
1 Respuesta
0
Hi Brown,
Did you start the session again on the other page as well?