Is there anyway to destroy session after closing tabs.
if (!isset($_SESSION['access']) || $_SESSION['access'] != 'yes')
{
include("FrontPage.php");
exit();
}
I include this code in some of my application. However it only works when I closes the browser completely. Is this the feature of session or my errors ?