Hi! I am making a web-based browser game for a school project. When the game ends, the users will press a button and be redirected to the index.php page. However, their data (username + player ID) is still saved. How/when do I implement session_destroy() to make sure that, when they are redirected to the home page, their session ends?
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.