translate logout message, delete session variable

This commit is contained in:
Roland Gruber 2003-08-17 08:32:18 +00:00
parent 17e2ec6263
commit c61da9be95
1 changed files with 7 additions and 5 deletions

View File

@ -35,15 +35,17 @@ session_save_path("../sess");
@session_start(); @session_start();
// close LDAP connection // close LDAP connection
$_SESSION["ldap"]->destroy(); @$_SESSION["ldap"]->destroy();
// destroy session setlanguage();
session_destroy();
// print logout message
echo $_SESSION['header']; echo $_SESSION['header'];
// destroy session
session_destroy();
unset($_SESSION);
// print logout message
?> ?>
<html> <html>