Expiring the session when the browser is closed |
(01-07-2021, 10:00 PM)InsiteFX Wrote: PHP - Session destroy after closing browser I want my system works as: an user will not be logged out until the browser is closed. If the browser is not closed, the user is kept logged in In previous CI version (CI 3), with the config: $config['sess_expiration'] = 0;. It works as expected. Now, when I upgrade the system to CI4. I use $sessionExpiration = 0;, but it does not worked as expected. User is automallicaly logged out after a few minutes. Could you please tell me a solution for it? |
Messages In This Thread |
Expiring the session when the browser is closed - by iot - 01-07-2021, 07:20 PM
RE: Expiring the session when the browser is closed - by InsiteFX - 01-07-2021, 10:00 PM
RE: Expiring the session when the browser is closed - by iot - 01-07-2021, 11:04 PM
RE: Expiring the session when the browser is closed - by paulbalandan - 01-08-2021, 01:37 AM
RE: Expiring the session when the browser is closed - by iot - 01-10-2021, 04:40 PM
RE: Expiring the session when the browser is closed - by cantinsertdata - 01-11-2021, 01:44 AM
RE: Expiring the session when the browser is closed - by iot - 01-11-2021, 04:08 PM
RE: Expiring the session when the browser is closed - by danger89 - 10-09-2022, 10:41 AM
|