CodeIgniter Forums

Full Version: CI 3.1.9 session not deleted after Chrome closed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My config:
Code:
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'mysite_ci_session';
$config['sess_expiration'] = 0;
$config['sess_save_path'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;

Expected: session deleted after browser close.

It works on:
- Microsoft Edge 44.18362.267.0
- Firefox 68.0.1 (64-bit)
- Yandex 19.7.2.455
- Opera 62.0.3331.116

But not works on Chrome 76.0.3809.100 (Official Build) (64-bit).

Please help!
@huangnam,

What are the browser settings for Chrome v76.0.3809.100. Does it delete cookies when the browser is closed?
Chrome only closes (expires) a session when the application is closed not when just a tab is closed. Are you saying the session remains active after exiting Chrome and then restarting it?