问题
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