简体   繁体   中英

Codeigniter session expire so soon

I set $config['sess_expiration'] = 0 but session still expires and the user id, which I set when the user login, sets as 0

Users generally use IE7 and Chrome.

Also sess_time_to_update is 300

How can I solve this?

这将使会议持续两天

$config['sess_expiration'] = ((60*60)*24)*2;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM