Sessions in IE and cakephp 1.3 not working properl

2019-08-30 00:04发布

I am building an app with cakephp 1.3. I have a scenario where the user must select multiple items from multiple pages. I use cakephp Session to read/write them to session. The problem is that this works fine in all browsers except IE9. It is not consistent in saving them or deleting them from session. If I check the always refresh from server using the IE developer tools (F12->Cache) it works fine...

Any ideas?

UPDATE

The saving to session is hapening by calling a server side script via AJAX and passing the id of the item

1条回答
Lonely孤独者°
2楼-- · 2019-08-30 00:33

Check your Session.checkAgent setting in /app/config/core.php

Try setting it to false. IE has an annoying habit of changing its browser agent string depending on the type of request it's making (Ajax is different to regular requests for instance).

查看更多
登录 后发表回答