1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php require_once "check_login.php";
$session->regenerateId(); $session->getCsrfToken()->regenerateValue();
unset($_SESSION['loginname']); unset($_SESSION['password']); unset($_SESSION['loginid']); unset($_SESSION['cmsloginid']); unset($_SESSION['role']); unset($_SESSION['cmsrole']); unset($_SESSION['role_type']); unset($_SESSION['is_platform']); unset($_SESSION['is_supplier']); unset($_SESSION['supplier_id']);
header("Location: login.php"); exit;
|