<?php session_start(); unset($_SESSION['username']); unset($_SESSION["timeout"]); session_unset(); header('location:index.php'); ?>