cakephp session no new files in tmp/sessions

你离开我真会死。 提交于 2019-12-12 02:04:42

问题


I am in the cumbersome proces of updating a Cakephp application from 1.2 to 2.5.

I discoverd that one of the main reasons I keep getting errors is because the sessions are not stored in tmp/sessions.

(each time a new browser visits the app a new session file should be added which is the case in the old version which still works and functions as base level)

-I did not change any settings to the TMP constant.

-In core the write setting for session is cake:

    Configure::write('Session', array(
    'defaults' => 'cake'
));

-I checked whether tmp folder and sessions folder are writable, they are.

What could be the reason that no new files are generated?

来源:https://stackoverflow.com/questions/24733151/cakephp-session-no-new-files-in-tmp-sessions

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