Explain the difference between zend_registry and zend_session in zend?
Answer Posted / Utkarsh Kumar Srivastava
Zend_Registry is a simple registry for storing application-level objects, while Zend_Session is used for handling session data. The main difference lies in their purpose: Registry is useful when you need to store global objects across controllers and actions, whereas Session is designed to handle user data that needs to persist between requests.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers