SESSION Auto Logout redirect user login password frist
<?php
session_start();
if(empty($_SESSION['name']))
{
header('location:index.php');
exit();
}
?>
<?php
session_start();
if(empty($_SESSION['name']))
{
header('location:index.php');
exit();
}
?>
No comments: