Dear Monika,

Thanks for your help! I tried what you mentined, but it is the same. It
seems that system is unable to change the session data.

Best regards,

William

On Wed, Sep 1, 2010 at 12:27 AM, Monika [via Zend Framework Community] <
[email protected]<ml-node%[email protected]>
> wrote:

> I saw your bootstrap.php, check these lines
>
>  $session = new Zend_Session_Namespace($default, true);
>  $session->{'bill'}="This is to test for William";
> * Zend_Registry::set('session', $session);*
>
> Try using Zend_Session_Namespace for fetching your $default session
> namespace in controllers also.. I don't see Zend_registry is required for
> this.
>
> in indexController replace $session=Zend_Registry::get('session'); with
>
> $session = new Zend_Session_Namespace($default); //off course you need to
> fetch $default config in controller.
>
>
> ------------------------------
> View message @
> http://zend-framework-community.634137.n4.nabble.com/Unable-to-change-session-data-in-controllers-tp2402403p2402629.html
> To unsubscribe from Unable to change session data in controllers, click
> here<http://zend-framework-community.634137.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=2402403&code=d2lsbGlhbXpoZW5nLmNhQGdtYWlsLmNvbXwyNDAyNDAzfC02MDIwNDY4MDQ=>.
>
>
>

-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Unable-to-change-session-data-in-controllers-tp2402403p2403242.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to