logout.php
8 lines UTF-8 Unix (LF)
1
2
3
4
5
6
7
8
<?phpsession_start();session_unset(); // Ta bort alla sessionsvariablersession_destroy(); // Döda sessionenheader("Location: index.php?msg=Du är nu utloggad");exit();?>