Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
session_start();
if ($_SESSION['username'] == 'admin')
{
session_destroy();
echo 'Сесията е премахната';
}
?>
if ($_SESSION['admin'] == true)
{
session_destroy();
}
<?php
session_start();
$_SESSION['admin'] = array();
session_destroy();
?>
<?php
session_start();
session_destroy();
?>