logout.php 247 B

1234567891011
  1. <?php
  2. // Signs out the user currently logged in
  3. session_start();
  4. unset($_SESSION['userlogin']);
  5. unset($_SESSION['canvas_id']);
  6. unset($_SESSION['userfirstname']);
  7. session_unset();
  8. session_destroy();
  9. echo 200;
  10. ?>