Revision 1571
Added by Luisehahne almost 14 years ago
| logout.php | ||
|---|---|---|
| 32 | 32 |
$_SESSION['SYSTEM_PERMISSIONS'] = null; |
| 33 | 33 |
$_SESSION = array(); |
| 34 | 34 |
|
| 35 |
session_start(); |
|
| 36 | 35 |
session_unset(); |
| 37 | 36 |
unset($_COOKIE[session_name()]); |
| 38 | 37 |
session_destroy(); |
| 39 |
$_SESSION = array(); |
|
| 40 | 38 |
|
| 41 | 39 |
if(INTRO_PAGE) {
|
| 42 | 40 |
header('Location: '.WB_URL.PAGES_DIRECTORY.'/index.php');
|
Also available in: Unified diff
remove session_start() in /account/logout.php