CodeIgniter - 使用输出缓存时记录有关会话的错误

I am using Phil Sturgeon's cache library -- http://getsparks.org/packages/cache/show.

This works nicely - the only thing is that now I notice that each time a cached page is loaded, I get this message in my log:

The session cookie data did not match what was expected. This could be a possible hacking attempt.

My sessions are stored in the database.

Does anyone have any pointer on what I should look into to solve this problem?

i suggest you to search trough your ide in the library for "The session cookie data did not match what was expected. This could be a possible hacking attempt."

usually IDE has a ctrl+f find option just search and you'll be able to understand what is causing this message, then if you didn't catched post the code snippet ;)

NB : usually if you are using an encryption key for the session in your config.php , and you change that it will throwns exactly the same error, cause the old session has a different encryption key (the old one you used)