Open jberanek opened 3 years ago
Set in your config file
$auth["session_php"]["session_expire_time"] = 0;
Original comment by: campbell-m
I'm afraid, it doesn't work. I have restarted Apache and clear all cache and cookie for a browser but the results are the same.
James
Original comment by: *anonymous
I've tested it on my system and it works OK. What have you got $auth['session']
set to?
Original comment by: campbell-m
I don't have this parameter in my config_inc.php file. What value should I set ?
Thanks James
Original comment by: *anonymous
I have tried to add this line > $auth["session"]="cookie" but the results remains unchanged. Still doesn't work.
James
Original comment by: *anonymous
No, you should have $auth["session"]="php"
. I don't know why it's not working. Are you closing the browser and not just a tab?
Original comment by: campbell-m
It works. Thanks although it won't work when just closing a tab.
James
Original comment by: *anonymous
Yes, that's right. It won't work when just closing a tab, but that's the way that browsers work.
Original comment by: campbell-m
Is there a way to force user to re-login after they close the browser (more like auto logout) ? I guess the system saves the session cookie in which I must manually clear the cookie in order to achieve what I want.
Thanks James
Reported by: *anonymous
Original Ticket: mrbs/support-requests/2328