Hi,
i have some great problems getting Zend::session to work.
i started out with the simple usage of Zend::session but it doesn't work.
so i decided to use a database as a backend instead.
i have the following in my bootstrap (taken directly from the zend docs):
$db = Zend_Db::factory('Pdo_Mysql', array(
'host' =>'localhost',
'username' => 'abc,
'password' => 'def',
'dbname' => 'mybase'
));
$config = array(
'name' => 'session',
'primary' => 'id',
'modifiedColumn' => 'modified',
'dataColumn' => 'data',
'lifetimeColumn' => 'lifetime',
'db' => $db
);
Zend_Session::setSaveHandler(new Zend_Session_SaveHandler_DbTable($config));
Zend_Session::start();
when i point my browser at the index link i get the page but a warning is
dispalyed too:
Warning: session_write_close() [function.session-write-close]: Failed to
write session data (user). Please verify that the current setting of
session.save_path is correct (/var/lib/php/session) in
/usr/share/Zend/library/Zend/Session.php on line 651
what does it mean and how can i aleviate it? nothing is inserted into the
database table.
i now the db setup is correct so that's not the reason.
kim
--
View this message in context:
http://www.nabble.com/session-not-workin-tp24219498p24219498.html
Sent from the Zend Framework mailing list archive at Nabble.com.