This are the line of codes i use but it logout all users(accounts) that are logged in at the time and i need to know how can i solve my problem please help me soon the code under are the one i use for logging out but the problem is that when am logging out it's logout all the accounts that are logged in at the time.
<?php
if (isset($_GET['logout'])) {
unset($_SESSION['id']);
unset($_SESSION['role']);
session_unset();
session_destroy();
header('location:../login_form.php');
}
?>