ZF-6292: Zend_Auth doesn't write a new session data on namespace

Issue Type: Bug Created: 2009-04-14T08:05:04.000+0000 Last Updated: 2009-08-16T18:49:00.000+0000 Status: Resolved Fix version(s): Reporter: Daniel Lima (yourwebmaker) Assignee: Ralph Schindler (ralph) Tags: - Zend_Auth

  • Zend_Session

Related issues: Attachments:


HI, I am trying save data on a default namespace using the following code:

if ($result->isValid()) { $data = $authAdapter->getResultRowObject(array('id','name'), 'pass'); $auth->getStorage()->write($data); }

$data variable contains a correct object value, but Zend_Auth_Storage_Session doesnt write a new session namespace on the system.

To do it, i have to use the following code:

if ($result->isValid()) { $data = $authAdapter->getResultRowObject(array('id','name'), 'pass'); $namaspace = new Zend_Session_Namespace('Zend_Auth'); $namaspace->name = $data->name; $namaspace->id = $data->id; }


Posted by Ralph Schindler (ralph) on 2009-08-16T18:48:59.000+0000

Have you tried this code here:…

If you cannot get this code to work, please re-open

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.