code (using the database and memcache if enabled). Defaults to false.
Setting this to true makes some sense on large or multi-server
sites, but it probably won't hurt for smaller ones, either.
+debug: whether to output debugging info for session storage. Can help
+ with weird session bugs, sometimes. Default false.
Troubleshooting
===============
static function logdeb($msg)
{
- common_debug("Session: " . $msg);
+ if (common_config('sessions', 'debug')) {
+ common_debug("Session: " . $msg);
+ }
}
static function open($save_path, $session_name)
'search' =>
array('type' => 'fulltext'),
'sessions' =>
- array('handle' => false), // whether to handle sessions ourselves
+ array('handle' => false, // whether to handle sessions ourselves
+ 'debug' => false), // debugging output for sessions
);
$config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');