
Ye Lin Aung - 2019-03-23 16:44:19
When i press logout buttom ,it go to login page but
When i tried
example/index.php to
example/user.php,
Can still access to user session,
So i changed
user.php like:
if(!isset($_session['user']['id'])){
header('Location: index.php');
}else{
$user->userPage();
exit();
Now every time i tried to
access example/user.php without login
It redirect to login,(index.php)page .sry for my bad eng