I use SimpleUsers Class and created a database-based login system. Here is SimpleUsers on Github
Here is my question: How to terminate PHP session on windows close? When the windows closed the session for logged in user is open yet. How can I close it? I tried to use
session_set_cookie_params(0);
But it was not helpful. Please help me.