TAS-ALFA/admin-zone/logout.php

10 lines
197 B
PHP
Raw Permalink Normal View History

2018-11-17 14:43:50 +01:00
<?php
// remove all session variables
session_start(); # NOTE THE SESSION START
$_SESSION = array();
session_unset();
// destroy the session
session_destroy();
header('Location: index.php');
?>