I have a login system on my website and have run into a problem. I use sessions to store the users data while the session is active. I have noticed that the PHPSESSID cookie lasts for about 24 hours and will not be destroyed when closing the browser.
Is there any way to change this behavior or do I have to find a different solution?