<?php session_start(); function session_clear() { // if session exists, unregister all variables that exist and destroy session $exists = "no"; $session_array = explode(";",session_encode()); for ($x = 0; $x < count($session_array); $x++) { $name = substr($session_array[$x], 0, s...