0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
[
Home
]
File: logout_ctrl.php
<?php @session_start(); session_destroy(); unset ($_SESSION['username']);// if we want to clear only this session variable unset ($_SESSION['user_id']);// if we want to clear only this session variable unset ($_SESSION['password']);// if we want to clear only this session variable unset ($_SESSION['name']);// if we want to clear only this session variable unset ($_SESSION['photo']);// if we want to clear only this session variable unset ($_SESSION['salutation']);// if we want to clear only this session variable unset ($_SESSION['designation']);// if we want to clear only this session variable unset ($_SESSION['division']);// if we want to clear only this session variable unset ($_SESSION['user_type']);// if we want to clear only this session variable // print_r($_SESSION); header("Location:index.php"); exit(); ?>