logout.php 173 B

12345678
  1. <?php
  2. if (!session_id()) {
  3. session_start();
  4. }
  5. unset($_SESSION["isLogin"]);
  6. echo "<script type=\"text/javascript\">top.location=\"./login.php\";</script>";
  7. exit();