-- xing93111 <[EMAIL PROTECTED]> wrote
(on Monday, 07 April 2008, 08:32 AM -0700):
> Can Zend_Registry be used to store Zend_Session? 

Yes, but it doesn't make much sense to do so, as Zend_Session is a
singleton.

> If yes, can Zend_Registry replace Zend_Session?

No. Zend_Registry is a static registry, and does not persist between
requests. Zend_Session provides a way to interact with $_SESSION in an
OOP fashion, as well as provides some facilities for namespacing session
data segments.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to