Cakephp返回错误302

I have a very weird behavior is happens in cake php.

Just in production, some action is returning error 302 when the user is logged.

I cannot reproduce this in development environment, but randomly, the session dies and the action return 302.

This week happens a problem in the server disk, this server is from a thirdy partner, and I don't know if there is a relationship between this. But I know that the server is unstable last days.

I tried to log some stack, but nothing is logged in the cakephp.

The session method is using cookies, but this problem happens without the cookies.

My hypothesis are:

  1. the disk has some problem and lose the session files.
  2. could exist a bug in cakephp 2.4.5and it is causing the session lost
  3. there is goblin inside the server doing mess.

Could you help me? I had this problem for 3 weeks.

Thanks

Yes, maybe could be correlated with the way on which PHP works with sessions. PHP saves all sessions on a directory, that you can get with the php_session_path function: http://php.net/manual/en/function.session-save-path.php. If this directory it's located on the disk that you said, or is related on another way, you will have problems.

The problem was the server disk. Our partners did the system migration to other machine and now everything is fine.

Thanks