I'm having a problem not expiring user sessions.
Question: How long does it take to expire session after user closes browser without logging off?
I have set up a cron job using cpanel and have verified by checking with hosting support (Host For Web) that cron job is running. They checked logs and confirmed. Since there is no output, the job does not send emails, but I added a second cron job to run the date command and send me email every minute and it works fine. So cron is running.
Host For Web level 2 support also confirmed that this job could be run every minute since it is low CPU usage, so no problems there. They checked cron configuration and told me it was fine. He added the -f option to the command (/usr/bin/php -f )
But even with this, when I test by opening a browser and logging in, then closing the browser without logging out, it still shows users logged in.
I have also tried calling the /ow_cron/run.php from the command (in SSH) but that doesn't clear it out.
I also tried suggestion to modify .htaccess file but not sure if I set up right. Please see
this post. showing contents of .htaccess file.
Thanks in advance for any help!