Comments

What is the php code with which it did work? Have you been able to see where why the old thing did work, and the new one doesn't (and maybe even have a patch available :D)?

Posted by Gabriel Baez (gabrielbaez) on 2009-11-04T10:30:36.000+0000

Hello, the old code was exactly what's currently in the documentation.
This is exactly what I had in the bootstrap.
{code:title=Bar.java|borderStyle=solid

//setup your DB connection like before
//NOTE: this config is also passed to Zend_Db_Table so anything specific
//to the table can be put in the config as well
$config = array(
'name' => 'session', //table name as per Zend_Db_Table
'primary' => array(
'session_id', //the sessionID given by PHP
'save_path', //session.save_path
'name', //session name
),
'primaryAssignment' => array(
//you must tell the save handler which columns you
//are using as the primary key. ORDER IS IMPORTANT
'sessionId', //first column of the primary key is of the sessionID
'sessionSavePath', //second column of the primary key is the save path
'sessionName', //third column of the primary key is the session name
),
'modifiedColumn' => 'modified', //time the session should expire
'dataColumn' => 'session_data', //serialized data
'lifetimeColumn' => 'lifetime', //end of life for a specific record
);

Hey Ramon, I used the setup that you provided and it works correctly, thanks for the help. It would be nice if the xml example was documented in the Zend Application section in case anybody else runs into the same issue.