summaryrefslogtreecommitdiffstats
path: root/logout.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-09 16:34:40 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-06-09 16:34:40 +0000
commitbcad40a05ab2dc2a341a3227e30b96668bce4500 (patch)
tree6fca27588d53a1b24705bd2834e9e643bb729bd1 /logout.php
downloadampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.gz
ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.bz2
ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.zip
New Import
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/logout.php b/logout.php
new file mode 100644
index 00000000..d5e4fb81
--- /dev/null
+++ b/logout.php
@@ -0,0 +1,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>