|
|
@ -20,6 +20,8 @@ mkheader("sessions!", "#aea");
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
if ($_POST['destroy-session'] == "yes") {
|
|
|
|
if ($_POST['destroy-session'] == "yes") {
|
|
|
|
session_destroy();
|
|
|
|
session_destroy();
|
|
|
|
|
|
|
|
$_SESSION = array();
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<p>Successfully destroyed session</p>
|
|
|
|
<p>Successfully destroyed session</p>
|
|
|
|
<a href="<?php echo $_SERVER['PHP_SELF']; ?>">clear this</a>
|
|
|
|
<a href="<?php echo $_SERVER['PHP_SELF']; ?>">clear this</a>
|
|
|
|