Hi,
I'm looking for a ZF-way to share the session among different Controllers.
Before ZF, the famous global $_SESSION was available everywhere, and still is.
But I'm trying to access the session data from ZF's API.
In My bootstrap, I have:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initSession()
{
Zend_Session::start();
$session = new Zend_Session_Namespace();
}
Now how can i access to the session data in the other Controllers?
How do you handle this in your ZF appliactions?
Please let me know.
Thanks in advance,
-behzad