Page not refreshing properly
<p>Easy answer fix by the first comment. Sorry page didn't have a redirect now it is fixed and working great.</p>

<pre><code>&lt;?php
if (isset($_GET['logout'])) {
    $root = $_SERVER['DOCUMENT_ROOT'];
    require_once("$root/busapp/helpers/session.php");

    if ((isset($sesh_user_id)) || (isset($sesh_admin)) || (isset($sesh_email))) {
         $_SESSION = array();
    }

    if (isset($_COOKIE[session_name()])) {
        setcookie(session_id(), '', time() - 3600);
    }

    session_destroy();
}

?&gt;
</code></pre>
