3

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?

4

1 回答 1

1

我建议你在图书馆的 ide 中搜索"The session cookie data did not match what was expected. This could be a possible hacking attempt."

通常 IDE 有一个ctrl+f查找选项只是搜索,您将能够了解导致此消息的原因,然后如果您没有抓住发布代码片段;)

注意:通常如果您在 config.php 中为会话使用加密密钥,并且您更改它会引发完全相同的错误,导致旧会话具有不同的加密密钥(您使用的旧密钥)

于 2012-12-31T21:55:44.010 回答