source:
logout.php
Last change on this file was 0791611, checked in by , 2 years ago | |
---|---|
|
|
File size: 171 bytes |
Rev | Line | |
---|---|---|
[0791611] | 1 | <?php |
2 | /** | |
3 | * Destroy the user session, effectively logging him out, and redirect to the Home page. | |
4 | */ | |
5 | session_start(); | |
6 | session_destroy(); | |
7 | header('Location: /index.php'); |
Note:
See TracBrowser
for help on using the repository browser.