Subversion Repositories computer_asset_manager_v2

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
<?php
2
   include_once("header.php");
3
   $_SESSION = array();
4
   if (ini_get("session.use_cookies")) {
5
       $params = session_get_cookie_params();
6
       setcookie(session_name(), '', time() - 42000,
7
           $params["path"], $params["domain"],
8
           $params["secure"], $params["httponly"]
9
       );
10
   }
11
   // Finally, destroy the session.
12
   session_destroy();
13
   header('Location:  login.html');
14
?>