I have a session that seems unkillable. The server runs PHP 4.0.0. It has register_global TRUE and track_vars FALSE. So I'm not sure really when to use $HTTP_SESSION_VARS['user_id'] and when to use just $user_id.
So here's my logout.php
<?php
@$HTTP_SESSION_VARS['user_id'] = "";
$user_id = "";
@session_unset();
@session_destroy();
Header("Location: index.php");
exit();
?>
You logged out.
btw: I have no ability to change the server PHP settings.
thanks for the help,
-j
