values['connected'] = FALSE; $sess->close(); if (!empty($HB_login)) { header('Location: '.$_SERVER["REQUEST_URI"]); exit; } else { header('Location: ./'); exit; } ?>