php - session expires in codeigniter when ajax call is present (CI version 3.0.3) -
i using latest version of codeigniter. problem session expired automatically after sometime (some ajax calls present in page)
i've found 1 solution problem says replace session.php
this
but didn't worked me. codeigniter version 3.0.3
update
$config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 0; $config['sess_save_path'] = null; $config['sess_match_ip'] = false; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = false;
Comments
Post a Comment