summaryrefslogtreecommitdiffstats
path: root/logout.php
blob: d5e4fb81f4d645d6a0cc4d4aa1e372420619d8f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php 
require_once("modules/init.php");
// To end a legitimate session, just call logout.
setcookie("amp_longsess","",null); 
logout();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Sample logout page</title>
</head>
<body>
Congrats, you are logged out.
<br /><a href="./login.php">login</a>
</body></html>