drdexter33 Posted June 14, 2008 Share Posted June 14, 2008 What are some of the things that might keep a PHP Web app session alive? I'm trying to figure out why the session is not ending.. Thanks. Doug Dexter Quote Link to comment https://forums.phpfreaks.com/topic/110200-php-session-not-terminating/ Share on other sites More sharing options...
Progr@mmer Posted June 14, 2008 Share Posted June 14, 2008 closing the web browser will end the session Quote Link to comment https://forums.phpfreaks.com/topic/110200-php-session-not-terminating/#findComment-565505 Share on other sites More sharing options...
.josh Posted June 14, 2008 Share Posted June 14, 2008 having other tabs on your browser will usually keep a session going. put unset($_SESSION); session_destroy(); at the end of your script. Quote Link to comment https://forums.phpfreaks.com/topic/110200-php-session-not-terminating/#findComment-565508 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.