Are your sessions not working at all, or do they only break when on XHR
requests?

--
Hector


On Thu, Apr 29, 2010 at 7:39 AM, whisher <whis...@mp4.it> wrote:

>
> 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.
>

Reply via email to