Ahoj,
poradil by mi někdo? Takhle vypadá přihlášení, ale rád bych se mohl odhlásit i jinak, než jen zavřením prohlížeče. 
<?
$HTTP_POST_VARS["heslo"]=$heslo;
If ($HTTP_POST_VARS["heslo"]=="heslo"):
session_start();
session_register('user_register');
$user_register = "ANO";
header("location:http://localhost/");
else:
if (isset($HTTP_POST_VARS["heslo"])) header("location:http://localhost/"); ;
endif;
?>
                                 
                                 
                               
               
                              
                                 
                                      Co takhle:
<?php
session_start();
session_unregister('user_register');
session_destroy();
header("location: logout.html");
exit;
?>
                                 
                                 
                               
               
                              
                                 
                                      <?
session_start();
$_SESSION = array();
session_destroy();
?>
                                 
                                 
                               
               
                              
                                 
                                      <HTML>me na to zatim spolehlive slape unset()</HTML>