Hei all,,, please help me ,,, :happy: 1. How i can close opened tab / window (not popup) in firefox ... 2. Deleting session on this tab when we close it ... My Logout script : <? require_once("config.php"); $unique_id = session_id(); session_regenerate_id(); $qry="delete from cart_table where unique_id='$unique_id'"; mysql_query($qry); $_SESSION = array(); session_unset(); session_destroy(); header("Location:index.php"); ?>
window.close() does not help you? or you don't want it in html? deleting session on a tab? that should happen