dso15221 2016-10-03 22:28
浏览 124
已采纳

无法从会话中删除__ci_last_regenerate

This __ci_last_regenerate is screwing my session. Is there a way of removing this from session array ?

When i set session for user and i print session, the session array is created correctly but its is proceeded by __ci_last_regenerate. Also when i destroy session the session array has only one element and its that bloody __ci_last_regenerate.

Session after login :

array(2) { 
      ["__ci_last_regenerate"]=> int(1475532963) 
      ["cb7a1d775e800fd1ee4049f7dca9e041eb9ba083"]=> array(2) { 
              ["id"]=> string(2) "37" 
              ["email"]=> string(19) "admin@admin.com" 
      } 
}

Session after logout (when calling session destroy)

array(1) { 
       ["__ci_last_regenerate"]=> int(1475533350) 
}
  • 写回答

2条回答 默认 最新

  • doyhq66282 2016-10-05 10:28
    关注

    You're not supposed to delete that. The library uses it internally - that's why it is re-created every time.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题