8 lines
186 B
PHP
8 lines
186 B
PHP
<?php
|
|
session_start();
|
|
session_destroy();
|
|
if ($_SESSION['sess_userid'] <> session_id()) {
|
|
echo "<meta http-equiv=\"refresh\" content=\"0;URL=index.php\">";
|
|
exit();
|
|
}
|
|
?>
|