How can I destroy sessions if user closes the browser window or navigates away from page in php?
- by Chris
I have some sessions that are saved. I want to destroy all the sessions if the user closes the browser window or a single tab or navigates away from the page. Is there any way I can do this?