CodeIgniter Session Disappear Bug?

前端 未结 1 1025
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 00:20

I am using CI 1.7.3 and here are my settings:

$config[\'sess_cookie_name\']     = \'ci_session\';
$config[\'sess_expiration\']      = 0;
$config[\'sess_encry         


        
相关标签:
1条回答
  • 2020-12-12 01:00

    I have the same issue. There's a design flaw in the CodeIgniter sessions library that causes the accidental destruction of sessions when two or more requests are submitted in rapid succession (such as when performing several AJAX requests). I've submitted a bug report that explains in more detail here: https://github.com/EllisLab/CodeIgniter/issues/154

    For now, you can implement a workaround by setting sess_use_database = FALSE. Hopefully someone resolves this issue soon.

    0 讨论(0)
提交回复
热议问题