//1st page
session_start();
$_SESSION['a']=1;
//2nd page
session_start();
echo $_SESSION['a'];
I couldn't destroy session when chrome close the browser, i have tried add
session_set_cookie_params(0);
or session_cache_expire(1);
those are not working, I read lots post, just cant find the solution.