It works with a table like
CREATE TABLE `tn_session` (
`id` char(32),
`modified` int,
`lifetime` int,
`data` text,
PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
and in the bootstrap
protected function _initDbSession()
{
$config = array(
'name' => 'tn_session',
'primary' => 'id',
'modifiedColumn' => 'modified',
'dataColumn' => 'data',
'lifetimeColumn' => 'lifetime'
);
Zend_Session::setSaveHandler(new
Zend_Session_SaveHandler_DbTable($config));
}
Bye.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Session-Db-trouble-with-ajax-request-tp2073591p2075594.html
Sent from the Zend Framework mailing list archive at Nabble.com.