<?php session_start(); //starts session session_unset(); // remove all session variables session_destroy(); // destroy the session ?>