/var/www/onesolution.com.hk/support/logout.php


1
2
3
4
5
6
7
8
9
10
11
<?php
require 'checkuser.php';

unset(
$_SESSION['username']);
unset(
$_SESSION['password']);
// kill session variables
$_SESSION = array(); // reset session array
session_destroy();   // destroy session.
header('Location: logon.php');
// redirect them to anywhere you like.
?>