PHP Session lost in CodeIgniter IE only

后端 未结 2 1604
悲哀的现实
悲哀的现实 2021-01-27 07:04

I\'m losting the session with CodeIgniter and only in Internet Explorer

I send an AJAX request to my first controller:

/controller/method1

2条回答
  •  自闭症患者
    2021-01-27 07:36

    My solution is similar to @sachin-prasad's answer. Only removing the underscore of the sess_cookie_name value will not work. You need to increase the sess_expiration as well.

    I tested it in IE 11 and the session works fine.

提交回复
热议问题