-- NShewmaker <[EMAIL PROTECTED]> wrote (on Tuesday, 12 February 2008, 01:10 PM -0800): > > I initialize my Registry in my bootstrap with a few values. My index/index > action then tries to add some data, with set(). If I immediately output the > registry, I can see the new addition. However, it does not persist to other > actions in the index (or any other) controller. > > Must all set()s be done in the bootstrap? Must I use Zend_Session, instead?
Based on what you're describing, it sounds like you're expecting Zend_Registry to persist data *between* requests. However, it doesn't. If you want to persist data between requests, use Zend_Session. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
