<a href="https://stackoverflow.com/questions/30121039/index.php?clearsession=true">Back</a>
php on top of page:
<?php
if($_GET['clearsession']){
session_start();
session_unset();
session_destroy();
session_write_close();
}
1
solved clear all php sessions by clicking on link