CodeIgniter session class not working in Chrome

前端 未结 10 1617
别那么骄傲
别那么骄傲 2020-12-01 13:36

I have created a login system in codeigniter project, which is working fine in Firefox but doesn\'t work in Chrome, data fetch and set for session but when this code redirec

10条回答
  •  攒了一身酷
    2020-12-01 13:51

    I know this is a late answer but if you're looking for a good solution here it is: use this code as the logging out code:

    $this->session->sess_destroy();
    

    This will insure removal of session "ci_session" which is the main reason you can't save a new session, hope it helps

提交回复
热议问题