By prematurely kills the session, do you mean closes the browser? If so, that should be automatic. The second scenario just means that after you have gone through the motions of getting the number, adn everything is complete, you want to close the session with session_destroy();