I'm developing a web application using Codeigniter 3 and am making use of the fab user management library, Ion Auth, developed by Ben Edwards.
Logging in and out works very well, but what I'm having an issue with is making sure that users get logged out automatically when the browser is closed.
I've experimented with using both the database driver and files driver in Codeigniter, but both appear to display the same behaviour (user is still logged in when browser is reopened).
I've also tried using the legacy 'sess_expire_on_close' setting in config.php but it didn't appear to make any difference.
I have '$config['remember_users']' set to FALSE in the Ion Auth config file.
Any pointers would be more than welcome.
Jim