I want to know how to delete the sessions in PHP, I want to make a copy of my application, and the index.php shows me that the session has finished and that I must log in again, thanks.
<?php
include('configuracion/conectar.php');
if(isset($_COOKIE['asiste_cookie']) && $_COOKIE['asiste_cookie'] != 'true'){
$asis_cookie = $_COOKIE['asiste_cookie'];
//echo $asis_cookie;
//list($campo1,$campo2) = split("-", $asis_cookie);
$campo1 = $asis_cookie;
$campo2 = '';
}else{
$campo1 = 'false';
$campo2 = '';
}
$cualver = '?v2.7.2.1006';
$_SESSION["VERSION"]= $cualver;
?>