I moved my site to a live server that was running the suhosin patch, with session encryption enabled. The "data" field in the _sessions table now contains an encrypted string, whereas before it was just a serialized array.
Now, on most pageviews, I get an error in the logs:
There was an error retrieving or creating session id: {session_id_here}
And the _sessions table fills up. I've done some debugging statements, and the _getSession method of the sessionHandler class always fails when it tries to get the session object, even when the session id it is using is in the table. It therefore creates a new one.
Everything else seems to work OK, but it's not good with the logs and table filling up constantly.
Has anyone else experienced this? Is there a setting I'm missing somewhere?
My modx site settings are all default (for the sessions and cookies).
Using 2.2.6