CodeIgniter DB Session problems: sess_expire_on_close

依然范特西╮ 提交于 2019-12-04 13:39:17

What version of CodeIgniter are you using? CI 2.1.1 at release had a session bug whereby sessions weren't getting deleted from the database, along with other problems. If you're on 2.1.1 (the only version affected with the issues), I'd recommend upgrading to 2.1.2 and trying again.

Is your ci session configuration set to match ip address? If so, your friend might be on a 3G mobile connection and maybe constantly changing her ip address while surfing... Just a guess.

I remember few years ago there was similar problem in one of the UK internet providers. Their IP changed almost, if not every request. I believe that session is related with IP. So everytime she visit another page she is assigned to a new session.

Check her IP everytime she visit your page.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!