hanze/iwa-panda2

Controller/logout/logout.php in datatowebsite
Repositories | Summary | Log | Files | README.md

logout.php (185B) download


 1<?php
 2function logout(){ 
 3    // Start the session
 4    session_start();
 5
 6    // Unset all session variables
 7    $_SESSION = array();
 8
 9    // Destroy the session
10    session_destroy();
11}